summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-23 08:01:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-23 08:01:15 +0000
commitfb11288109329cb736d9f49769581a0d0c23fe19 (patch)
treec2d5d369ef2db0b2fab9a7fc0aa4fbbb6a98a9c5 /test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
parent7d6d4b360fb8c1895b57eeb1284e792f953ea7ee (diff)
downloadllvm-fb11288109329cb736d9f49769581a0d0c23fe19.tar.gz
llvm-fb11288109329cb736d9f49769581a0d0c23fe19.tar.bz2
llvm-fb11288109329cb736d9f49769581a0d0c23fe19.tar.xz
Model inline asm constraint which ties an input to an output register as machine operand TIED_TO constraint. This eliminated the need to pre-allocate registers for these. This also allows register allocator can eliminate the unneeded copies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll')
-rw-r--r--test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll b/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
index d49d5bf9f9..557d00c629 100644
--- a/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
+++ b/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc | grep {a: %ecx %ecx}
-; RUN: llvm-as < %s | llc | grep {b: %ecx %edx %ecx}
+; RUN: llvm-as < %s | llc | grep {a:} | not grep ax
+; RUN: llvm-as < %s | llc | grep {b:} | not grep ax
; PR2078
; The clobber list says that "ax" is clobbered. Make sure that eax isn't
; allocated to the input/output register.