[llvm-commits] [llvm] r42932 - /llvm/trunk/test/CodeGen/X86/fp_constant_op.llx

Dan Gohman djg at cray.com
Fri Oct 12 13:42:14 PDT 2007


Author: djg
Date: Fri Oct 12 15:42:14 2007
New Revision: 42932

URL: http://llvm.org/viewvc/llvm-project?rev=42932&view=rev
Log:
Fix this test to not depend on the assembly output containing something
that includes the string "st". This probably fixes the regression on
Darwin.

Modified:
    llvm/trunk/test/CodeGen/X86/fp_constant_op.llx

Modified: llvm/trunk/test/CodeGen/X86/fp_constant_op.llx
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fp_constant_op.llx?rev=42932&r1=42931&r2=42932&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/fp_constant_op.llx (original)
+++ llvm/trunk/test/CodeGen/X86/fp_constant_op.llx Fri Oct 12 15:42:14 2007
@@ -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.
 





More information about the llvm-commits mailing list