Fix PR5391: support early clobber physical register def tied with a use (ewwww)
[oota-llvm.git] / test / CodeGen / X86 / shift-codegen.ll
index 0fc180310df824cc8c8d683e4aeae0afff560d1f..4cba1834bf6c26a42297f2dc5dc280f338fa13ad 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llc -relocation-model=static -march=x86 | grep 'shll $3' | wc -l | grep 2
+; RUN: llc < %s -relocation-model=static -march=x86 | \
+; RUN:   grep {shll    \$3} | count 2
 
 ; This should produce two shll instructions, not any lea's.
 
@@ -6,7 +7,6 @@ target triple = "i686-apple-darwin8"
 @Y = weak global i32 0          ; <i32*> [#uses=1]
 @X = weak global i32 0          ; <i32*> [#uses=2]
 
-implementation   ; Functions:
 
 define void @fn1() {
 entry: