summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/regparm.c
Commit message (Collapse)AuthorAgeFilesLines
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-1/+1
| | | | | | tests fail. llvm-svn: 188447
* Update the tests.Bill Wendling2013-01-311-1/+1
| | | | | | | This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
* fix an unintended behavior change in the type system rewrite, which caused ↵Chris Lattner2011-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | us to compile stuff like this: typedef struct { int x, y, z; } foo_t; foo_t g; into: %"struct.<anonymous>" = type { i32, i32, i32 } we now get: %struct.foo_t = type { i32, i32, i32 } This doesn't change the behavior of the compiler, but makes the IR much easier to read. llvm-svn: 134969
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-1/+1
| | | | llvm-svn: 134831
* Warn about code that uses variables and functions with internal linkageJohn McCall2011-02-191-2/+1
| | | | | | | | | | | | | | without defining them. This should be an error, but I'm paranoid about "uses" that end up not actually requiring a definition. I'll revisit later. Also, teach IR generation to not set internal linkage on variable declarations, just for safety's sake. Doing so produces an invalid module if the variable is not ultimately defined. Also, fix several places in the test suite where we were using internal functions without definitions. llvm-svn: 126016
* Fix a (probably very old) regression where we weren't using the typedef name ↵Anders Carlsson2010-11-241-1/+1
| | | | | | for anonymous tag types. llvm-svn: 120113
* Merge the "regparm" attribute from a previous declaration of aDouglas Gregor2010-06-181-0/+5
| | | | | | function to redeclarations of that function. Fixes PR7025. llvm-svn: 106317
* Fix test in -Asserts build.Daniel Dunbar2010-03-301-1/+1
| | | | llvm-svn: 99960
* Remember the regparm attribute in FunctionType::ExtInfo.Rafael Espindola2010-03-301-2/+6
| | | | | | Fixes PR3782. llvm-svn: 99940
* Fix this test on windows. When running on windows we printRafael Espindola2010-03-301-1/+1
| | | | | | | | double 0.000000e+000 instead of double 0.000000e+00 llvm-svn: 99932
* the big refactoring bits of PR3782.Rafael Espindola2010-03-301-1/+2
| | | | | | | | This introduces FunctionType::ExtInfo to hold the calling convention and the noreturn attribute. The next patch will extend it to include the regparm attribute and fix the bug. llvm-svn: 99920
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-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
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-3/+2
| | | | llvm-svn: 81346
* Testcase for regparm codegenAnton Korobeynikov2009-04-041-0/+19
llvm-svn: 68415
OpenPOWER on IntegriCloud