Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Re-enable several builtins in non-gnu modes. | Evgeniy Stepanov | 2014-04-16 | 1 | -0/+11 |
| | | | | | | | | | This is a partial revert of 183015. By not recognizing things like _setjmp we lose (returns_twice) attribute on them, which leads to incorrect code generation. Fixes PR16138. llvm-svn: 206362 | ||||
* | CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵ | Stephen Lin | 2013-08-15 | 1 | -6/+6 |
| | | | | | | tests fail. llvm-svn: 188447 | ||||
* | Add more of the command line options as attribute flags. | Bill Wendling | 2013-02-28 | 1 | -3/+5 |
| | | | | | | These can be easily queried by the back-end. llvm-svn: 176304 | ||||
* | Reapply r176133 with testcase fixes. | Bill Wendling | 2013-02-27 | 1 | -5/+3 |
| | | | | llvm-svn: 176145 | ||||
* | Fix testcases to not rely upon target-* attributes. | Bill Wendling | 2013-02-26 | 1 | -30/+25 |
| | | | | llvm-svn: 176135 | ||||
* | Revert "Add more attributes from the command line to functions." | Anna Zaks | 2013-02-25 | 1 | -25/+30 |
| | | | | | | | | This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044 | ||||
* | Add more attributes from the command line to functions. | Bill Wendling | 2013-02-25 | 1 | -30/+25 |
| | | | | | | | This is an ongoing process. Any command line option which a back-end cares about should be added here. llvm-svn: 176009 | ||||
* | Update tests so that we don't test for function-only attributes on call sites. | Bill Wendling | 2013-02-22 | 1 | -5/+8 |
| | | | | llvm-svn: 175921 | ||||
* | Update to use references to attribute groups instead of listing the ↵ | Bill Wendling | 2013-02-22 | 1 | -5/+5 |
| | | | | | | attributes on the call/invoke instructions. llvm-svn: 175878 | ||||
* | Modify the tests to use attribute group references instead of listing the | Bill Wendling | 2013-02-20 | 1 | -14/+23 |
| | | | | | | function attributes. llvm-svn: 175606 | ||||
* | Update the tests. | Bill Wendling | 2013-01-31 | 1 | -2/+2 |
| | | | | | | | This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111 | ||||
* | Semantic analysis and CodeGen support for C11's _Noreturn. This is modeled as | Richard Smith | 2013-01-30 | 1 | -1/+7 |
| | | | | | | an attribute for consistency with our other noreturn mechanisms. llvm-svn: 173898 | ||||
* | Add returns_twice to functions that are known to return twice. This implements | Rafael Espindola | 2011-10-12 | 1 | -0/+11 |
| | | | | | | the same behavior of gcc by keeping the attribute out of the function type. llvm-svn: 141803 | ||||
* | Propagate __attribute__((returns_twice)) from C to IL. | Rafael Espindola | 2011-10-03 | 1 | -0/+11 |
| | | | | llvm-svn: 141002 | ||||
* | Emit the 'alignstack' LLVM function attribute when we encounter a function | Charles Davis | 2010-02-13 | 1 | -0/+8 |
| | | | | | | | marked 'force_align_arg_pointer'. Almost there; now all I need to do is finish up the backend. llvm-svn: 96100 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -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 | ||||
* | Set OptimizeForSize LLVM function attribute with -Os. | Daniel Dunbar | 2009-10-27 | 1 | -9/+26 |
| | | | | llvm-svn: 85278 | ||||
* | Convert test to FileCheck. | Daniel Dunbar | 2009-10-27 | 1 | -20/+17 |
| | | | | llvm-svn: 85277 | ||||
* | Prep for new warning. | Mike Stump | 2009-07-21 | 1 | -1/+1 |
| | | | | llvm-svn: 76638 | ||||
* | When defining a function whose type has no prototype, make an effort | Chris Lattner | 2009-05-05 | 1 | -0/+19 |
| | | | | | | | | to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness to get always inline functions to work, see testcases in function-attributes.c. llvm-svn: 70971 | ||||
* | PR4133: fix always_inline implementation to be consistent with gcc. | Eli Friedman | 2009-05-03 | 1 | -2/+1 |
| | | | | llvm-svn: 70786 | ||||
* | defer emission of always_inline, extern_inline, and inline functions (when | Chris Lattner | 2009-04-14 | 1 | -1/+2 |
| | | | | | | not in c89 mode). llvm-svn: 69032 | ||||
* | Don't set both readnone and readonly. | Daniel Dunbar | 2009-04-10 | 1 | -0/+4 |
| | | | | llvm-svn: 68833 | ||||
* | Rename clang to clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -1/+1 |
| | | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602 | ||||
* | Temporarily disable clearing of insert point (to indicate unreachable | Daniel Dunbar | 2009-02-25 | 1 | -0/+7 |
| | | | | | | | code) when calling noreturn functions; general expression emission isn't ready to do the right thing in all cases. llvm-svn: 65473 | ||||
* | Set call attribute for direct calls (i.e. noreturn). | Daniel Dunbar | 2009-02-20 | 1 | -1/+12 |
| | | | | | | - Remove an unused variant of EmitCallExpr overload. llvm-svn: 65130 | ||||
* | Force triple for codegen tests which have expectations on output | Daniel Dunbar | 2009-02-03 | 1 | -1/+1 |
| | | | | | | types. llvm-svn: 63669 | ||||
* | Add attribute always_inline support. | Daniel Dunbar | 2008-10-28 | 1 | -1/+3 |
| | | | | llvm-svn: 58304 | ||||
* | fix test for latest changes in llvm asm representation | Nuno Lopes | 2008-09-30 | 1 | -4/+4 |
| | | | | llvm-svn: 56842 | ||||
* | Fix function-attributes test case to not rely on llvm-gcc. | Daniel Dunbar | 2008-09-27 | 1 | -5/+9 |
| | | | | llvm-svn: 56734 | ||||
* | Set sext/zext on function result. | Daniel Dunbar | 2008-09-05 | 1 | -0/+22 |
- <rdar://problem/6156739> llvm-svn: 55815 |