Make test platform agnostic.
[oota-llvm.git] / test / CodeGen / X86 / 2008-04-28-CoalescerBug.ll
index e970a4267dfa0b3bec3b3f15fc55ea6338c6fd78..f93ad9ae7151f6b8e105a60d092b01fd3609f501 100644 (file)
@@ -1,6 +1,7 @@
-; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movl | not grep {r\[abcd\]x}
-; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movl | not grep {r\[ds\]i}
-; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movl | not grep {r\[bs\]p}
+; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep movl > %t
+; RUN: not grep {r\[abcd\]x} %t
+; RUN: not grep {r\[ds\]i} %t
+; RUN: not grep {r\[bs\]p} %t
 
        %struct.BITMAP = type { i16, i16, i32, i32, i32, i32, i32, i32, i8*, i8* }
        %struct.BltData = type { float, float, float, float }