summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/mips-constraint-regs.c
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Always clobber $1 for MIPS inline asm.Toma Tabacu2014-12-171-3/+3
| | | | | | | | | | | | | | | | | | | | Summary: Because GCC doesn't use $1 for code generation, inline assembly code can use $1 without having to add it to the clobbers list. LLVM, on the other hand, does not shy away from using $1, and this can cause conflicts with inline assembly which assumes GCC-like code generation. A solution to this problem is to make Clang automatically clobber $1 for all MIPS inline assembly. This is not the optimal solution, but it seems like a necessary compromise, for now. Reviewers: dsanders Reviewed By: dsanders Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6638 llvm-svn: 224428
* Mips specific inline assembler constraint 'R'Jack Carter2013-03-041-3/+1
| | | | | | | 'R' An address that can be sued in a non-macro load or store. This patch includes a positive test case. llvm-svn: 176453
* Update to use references to attribute groups instead of listing the ↵Bill Wendling2013-02-221-3/+5
| | | | | | attributes on the call/invoke instructions. llvm-svn: 175878
* The clang driver has a fairly fancy support for executing gcc instead ofRafael Espindola2012-10-091-1/+1
| | | | | | | | | | | | | | clang itself. This dates back to clang's early days and while it looks like some of it is still used (for kext for example), other parts are probably dead. Remove the -ccc-clang-archs option and associated code. I don't think there is any remaining setup where clang doesn't support an architecture but it can expect an working gcc cross compiler to be available. A nice side effect is that tests no longer need to differentiate architectures that are included in production builds of clang and those that are not. llvm-svn: 165545
* When this test case was first created it wasJack Carter2012-08-211-1/+6
| | | | | | | | | just trying to show it did not crash and burn. This patch checks that the resultant .ll contents are correct. llvm-svn: 162249
* Add more constraint registers for mips.Eric Christopher2012-04-031-0/+44
Patch by Jack Carter. Testcase cleanup by me. llvm-svn: 153921
OpenPOWER on IntegriCloud