aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/builtin-attributes.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-26Fix testcases to not rely upon target-* attributes.Bill Wendling1-2/+1
llvm-svn: 176135
2013-02-25Revert "Add more attributes from the command line to functions."Anna Zaks1-1/+2
This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044
2013-02-25Add more attributes from the command line to functions.Bill Wendling1-2/+1
This is an ongoing process. Any command line option which a back-end cares about should be added here. llvm-svn: 176009
2013-02-22Update to use references to attribute groups instead of listing the ↵Bill Wendling1-1/+4
attributes on the call/invoke instructions. llvm-svn: 175878
2012-07-09Tests: check for target availability for target-specific tests.Jim Grosbach1-0/+1
Lots of tests are using an explicit target triple w/o first checking that the target is actually available. Add a REQUIRES clause to a bunch of them. This should hopefully unbreak bots which don't configure w/ all targets enabled. llvm-svn: 159949
2011-09-08The frexp, modf, and remquo builtins are not 'const'.Jakob Stoklund Olesen1-0/+41
These functions return a second value by writing to a pointer argument, so they cannot be marked 'readnone' which implies that they don't access memory. <rdar://problem/10070234> llvm-svn: 139319
2011-03-24Make sure we aggressively attach nounwind (etc.) to calls to libraryEli Friedman1-0/+5
functions of the form __builtin_XXX. llvm-svn: 128198
2010-06-16Change the test for which ABI/CC to use on ARM to be base on the environmentRafael Espindola1-1/+1
(the last argument of the triple). llvm-svn: 106131
2010-06-16Fix tests that I missed from my previous commit.Rafael Espindola1-2/+2
llvm-svn: 106118
2010-03-04Revert changes r97693, r97700, and r97718.John McCall1-2/+0
Our testing framework can't deal with disabled targets yet. llvm-svn: 97719
2010-03-04XFAIL these tests on win32, since the win32 buildbot apparently disables allJohn McCall1-0/+2
targets except X86. llvm-svn: 97718
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
2009-09-14Fix subtle bug in generating LLVM function declarations for builtin functions.Daniel Dunbar1-0/+12
The decl wasn't being passed down, which meant that function attributes were not being set correctly. This is particularly important for ARM, since it wants to override the calling convention. Instead we would emit the builtin with the wrong calling convention, and instcombine would come along and merrily shred all the calls to it. :) llvm-svn: 81756