summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-12-19-EarlyClobberBug.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-12-19-EarlyClobberBug.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-12-19-EarlyClobberBug.ll')
-rw-r--r--test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll b/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll
index 6442ac7c76..c7fdfb2692 100644
--- a/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll
+++ b/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll
@@ -1,5 +1,6 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | %prcontext End 1 | grep {movl.*%ecx}
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | %prcontext End 2 | grep mov
; PR3149
+; Make sure the copy after inline asm is not coalesced away.
@"\01LC" = internal constant [7 x i8] c"n0=%d\0A\00" ; <[7 x i8]*> [#uses=1]
@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32 (i64, i64)* @umoddi3 to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0]