summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/asm-inout.c
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Consider tied operands when adjusting inline asm operands.Eli Friedman2019-03-141-0/+9
| | | | | | | | | | | | | The constraint "0" in the following asm did not consider the its relationship with "=y" when try to replace the type of the operands. asm ("nop" : "=y"(Mu8_1 ) : "0"(Mu8_0 )); Patch by Xiang Zhang. Differential Revision: https://reviews.llvm.org/D56990 llvm-svn: 356196
* Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie2015-02-271-1/+1
| | | | llvm-svn: 230795
* Small cleanup.Bill Wendling2012-03-221-8/+8
| | | | llvm-svn: 153292
* Use correct FileCheck regexp.Bill Wendling2012-03-221-1/+1
| | | | llvm-svn: 153291
* When an MMX output variable is tied to the input variable, we have to implicitlyBill Wendling2012-03-221-0/+9
| | | | | | | cast the value to x86_mmx. This gives the ASM string the correct call signature. <rdar://problem/10919182> llvm-svn: 153290
* Move additional register names to their own lookup, separate fromEric Christopher2011-06-211-2/+1
| | | | | | | | register aliases. Fixes unnecessary renames of clobbers. Fixes part of rdar://9425559 llvm-svn: 133485
* add one more case of mismatched input/output constraints. Chris Lattner2011-02-211-0/+9
| | | | | | | | | | | | | | | | | | | When the mismatch is due to a larger input operand that is a constant, truncate it down to the size of the output. This allows us to accept some cases in the linux kernel and elsewhere. Pedantically speaking, we generate different code than GCC, though I can't imagine how it would matter: Clang: movb $-1, %al frob %al GCC: movl $255, %eax frob %al llvm-svn: 126148
* Added '|' delimiter to separate inline asm multiple alternative constraints ↵John Thompson2010-09-181-0/+12
| | | | | | for Clang side of support. llvm-svn: 114253
* Something's wrong with this test on other platforms. I'll probably need to ↵John Thompson2010-08-101-23/+0
| | | | | | simplify it later. For now revert. llvm-svn: 110738
* Slightly revised handling of mult-alt constraints, to avoid an assert, until ↵John Thompson2010-08-101-0/+23
| | | | | | we have the full fix. llvm-svn: 110706
* Fix for PR3800: make sure not to evaluate the expression for a read-writeEli Friedman2010-07-161-0/+19
| | | | | | asm operand twice. llvm-svn: 108489
* merge asm-2.c into asm.c, remove asm-inout.c because it is Chris Lattner2010-03-031-18/+0
| | | | | | XFAIL and already tracked in bugzilla. llvm-svn: 97671
* 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
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Switch XFAIL format to match LLVM.Daniel Dunbar2009-11-031-1/+1
| | | | llvm-svn: 85880
* Revert the fix for PR3800, it broke things.Anders Carlsson2009-08-041-0/+10
| | | | llvm-svn: 78084
* Don't evaluate inout constraints twice. Fixes PR3800.Anders Carlsson2009-08-021-0/+8
llvm-svn: 77854
OpenPOWER on IntegriCloud