summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/mips-constraints-mem.c
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Always clobber $1 for MIPS inline asm.Toma Tabacu2014-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Make these tests more robust against IRgen choosing to emit more named metadata.Richard Smith2013-07-141-1/+1
| | | | llvm-svn: 186279
* Mips specific inline assembler constraint 'R'Jack Carter2013-03-051-0/+26
'R' An address that can be sued in a non-macro load or store. Including missing positive test case and fixed typo for r176453. Thanks to Richard Smith for catching this! Jack llvm-svn: 176506
OpenPOWER on IntegriCloud