Fix this test to not depend on the assembly output containing something
authorDan Gohman <gohman@apple.com>
Fri, 12 Oct 2007 20:42:14 +0000 (20:42 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 12 Oct 2007 20:42:14 +0000 (20:42 +0000)
that includes the string "st". This probably fixes the regression on
Darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42932 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fp_constant_op.llx

index 209a41137050649805edc07c6ae12f4b561b5420..89cc831a78a49c49716eaf4750c31388ebfdb74b 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -mcpu=i486 | \
-; RUN:   grep -i ST | not grep {fadd\\|fsub\\|fdiv\\|fmul}
+; RUN:   grep {fadd\\|fsub\\|fdiv\\|fmul} | not grep -i ST 
 
 ; Test that the load of the constant is folded into the operation.