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
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
Chris Lattner
036078ca76
with recent optimizer changes, these all get devirtualized.
...
llvm-svn: 102825
2010-05-01 01:42:06 +00:00
Anders Carlsson
b0695ef011
Don't try to fold DeclRefExprs that point to ParmVarDecls. This had the side-effect of always folding the expression to the default argument of the parameter. For example:
...
void f(int a = 10) {
return a;
}
would always return 10, regardless of the passed in argument.
This fixes another 600 test failures. We're now down to only 137 failures!
llvm-svn: 95262
2010-02-03 21:58:41 +00:00
Anders Carlsson
5dc86337fb
Set the correct vtable pointers _before_ generating code for any member initializers. Fixes about ~2000 clang/LLVM tests in the clang-on-clang build.
...
llvm-svn: 95116
2010-02-02 19:58:43 +00:00