For PR1319: Upgrade to new test harness.
[oota-llvm.git] / test / CodeGen / X86 / 2006-04-27-ISelFoldingBug.ll
index 66ad1b1f76e52fda4494d72e57305c137fff0a37..db82d6591ebb0e9f40b2b1c457f950e88ff0da98 100644 (file)
@@ -1,4 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin8.6.1 -relocation-model=static | grep 'movl _last' | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | \
+; RUN:   llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static | \
+; RUN:   grep {movl _last} | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | \
+; RUN:   llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static | \
+; RUN:   grep {cmpl.*_last} | wc -l | grep 1
 
 %block = external global ubyte*                ; <ubyte**> [#uses=1]
 %last = external global int            ; <int*> [#uses=3]