Make TranslateX86CC return COND_INVALID instead of aborting when it
[oota-llvm.git] / test / CodeGen / X86 / 2007-03-15-GEP-Idx-Sink.ll
index 62feeabe71d841ab5cbc645fd84740cf81a3b8f6..4cac9b4c4a216bdbfbafa2539da969f4533cb586 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc &&
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-darwin | grep 'addl $20, %esp'
+; RUN: llc < %s -march=x86 -mtriple=i686-darwin | \
+; RUN:   grep push | count 3
 
 define void @foo(i8** %buf, i32 %size, i32 %col, i8* %p) {
 entry: