Bill Wendling
706469b453
Add more of the command line options as attribute flags.
...
These can be easily queried by the back-end.
llvm-svn: 176304
2013-02-28 22:49:57 +00:00
Bill Wendling
2386bb130c
Reapply r176133 with testcase fixes.
...
llvm-svn: 176145
2013-02-27 00:06:04 +00:00
Anna Zaks
0f424b029b
Revert "Add more attributes from the command line to functions."
...
This reverts commit 176009.
The commit is a likely cause of several buildbot failures.
llvm-svn: 176044
2013-02-25 19:51:03 +00:00
Bill Wendling
87869db5f5
Add more attributes from the command line to functions.
...
This is an ongoing process. Any command line option which a back-end cares about
should be added here.
llvm-svn: 176009
2013-02-25 07:15:16 +00:00
Bill Wendling
19457e282e
Update tests so that we don't test for function-only attributes on call sites.
...
llvm-svn: 175921
2013-02-22 21:12:51 +00:00
Bill Wendling
e1c4a1babd
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
...
llvm-svn: 175878
2013-02-22 09:10:20 +00:00
Bill Wendling
c33fc4c004
Modify the tests to use attribute group references instead of listing the
...
function attributes.
llvm-svn: 175606
2013-02-20 07:22:19 +00:00
Bill Wendling
985d1c5d15
Add the 'target-cpu' and 'target-features' attributes to functions.
...
The back-end will use these values to reconfigure code generation for different
features.
llvm-svn: 175308
2013-02-15 21:30:01 +00:00
Ulrich Weigand
35668cc401
A number of test cases assume that an "int" parameter or return value
...
will be represented in the IR as a plain "i32" type. This causes the
tests to spuriously fail on platforms where int is not a 32-bit type,
or where the ABI requires attributes like "signext" or "zeroext" to
be used.
This patch adds -triple or -target parameters to force those tests
to use the i386-unknown-unknown target.
llvm-svn: 166551
2012-10-24 12:22:56 +00:00
Eric Christopher
d9afc5c749
FileCheckize this test.
...
llvm-svn: 137671
2011-08-15 22:48:14 +00:00
Eric Christopher
bf005ecd9c
'pure' and 'const' functions should also be marked nounwind. Migrate
...
test over from llvm/test/FrontendC++ and update others to account for
the change.
llvm-svn: 137669
2011-08-15 22:38:22 +00:00