summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/arm-swiftcall.cpp
Commit message (Collapse)AuthorAgeFilesLines
* IR: print value numbers for unnamed function argumentsTim Northover2019-08-031-1/+1
| | | | | | | | | | For consistency with normal instructions and clarity when reading IR, it's best to print the %0, %1, ... names of function arguments in definitions. Also modifies the parser to accept IR in that form for obvious reasons. llvm-svn: 367755
* Fix a few tests that were missing ':' on CHECK lines and weren't testing ↵Nico Weber2019-02-111-1/+1
| | | | | | | | | | | | anything. Found by `git grep '\/\/ CHECK-[^: ]* ' clang/test/ | grep -v RUN:`. Also tweak CodeGenCXX/arm-swiftcall.cpp to still pass now that it checks more. Differential Revision: https://reviews.llvm.org/D58061 llvm-svn: 353744
* Fix a major swiftcall ABI bug with trivial C++ class types.John McCall2018-04-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | The problem with the previous logic was that there might not be any explicit copy/move constructor declarations, e.g. if the type is trivial and we've never type-checked a copy of it. Relying on Sema's computation seems much more reliable. Also, I believe Richard's recommendation is exactly the rule we use now on the Itanium ABI, modulo the trivial_abi attribute (which this change of course fixes our handling of in Swift). This does mean that we have a less portable rule for deciding indirectness for swiftcall. I would prefer it if we just applied the Itanium rule universally under swiftcall, but in the meantime, I need to fix this bug. This only arises when defining functions with class-type arguments in C++, as we do in the Swift runtime. It doesn't affect normal Swift operation because we don't import code as C++. llvm-svn: 328942
* Make another test insensitive to the default C++ dialect.Paul Robinson2016-12-191-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D27955 llvm-svn: 290145
* Undo accidental comitPaul Robinson2016-12-191-4/+2
| | | | llvm-svn: 290121
* Make a few OpenMP tests "C++11 clean."Paul Robinson2016-12-191-2/+4
| | | | | | Reviewed by abataev (in D27794) llvm-svn: 290120
* Update testing cases after backend changes.Manman Ren2016-04-051-1/+1
| | | | llvm-svn: 265488
* IRGen-level lowering for the Swift calling convention.John McCall2016-04-041-0/+115
llvm-svn: 265324
OpenPOWER on IntegriCloud