summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/regparm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* LLVM IR: Generate new-style byval-with-Type from ClangTim Northover2019-06-051-1/+1
| | | | | | | | | | | LLVM IR recently added a Type parameter to the byval Attribute, so that when pointers become opaque and no longer have an element type the information will still be present in IR. For now the Type parameter is optional (which is why Clang didn't need this change at the time), but it will become mandatory soon. llvm-svn: 362652
* Update testcases due to Attribute sorting improvements.Bill Wendling2013-02-151-1/+1
| | | | llvm-svn: 175253
* Update the tests.Bill Wendling2013-01-311-1/+1
| | | | | | | This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
* Don't try to use inreg with 0 sized structs. Thanks to Eli for reporting theRafael Espindola2012-10-231-1/+12
| | | | | | regression. llvm-svn: 166461
* Fix handling of the regparm attribute in the presence of classes with copyRafael Espindola2012-10-191-0/+21
| | | | | | | | | | | | | constructors. When I first moved regparm support to TargetInfo.cpp I tried to isolate it in classifyArgumentTypeWithReg, but it is actually a lot easier to flip the code around and check for regparm at the end of the decision tree. Without this refactoring classifyArgumentTypeWithReg would have to duplicate the logic about when to use non-byval indirect arguments. llvm-svn: 166266
* Add inreg attributes to reference arguments.Rafael Espindola2011-11-271-0/+6
llvm-svn: 145189
OpenPOWER on IntegriCloud