Add a neat little two's complement hack for x86.
[oota-llvm.git] / test / CodeGen / X86 / 2006-04-27-ISelFoldingBug.ll
index 1a72a20a4f2b26e7c1f915640c23bc13deddc7f8..8783a11c060b12752b1554c657c6edd0f4df4926 100644 (file)
@@ -1,9 +1,6 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static | \
-; RUN:   grep {movl    _last} | count 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static | \
-; RUN:   grep {cmpl.*_last} | count 1
+; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static > %t
+; RUN: grep {movl      _last} %t | count 1
+; RUN: grep {cmpl.*_last} %t | count 1
 
 @block = external global i8*            ; <i8**> [#uses=1]
 @last = external global i32             ; <i32*> [#uses=3]