diff options
Diffstat (limited to 'test/CodeGen/X86/negative_zero.ll')
-rw-r--r-- | test/CodeGen/X86/negative_zero.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/negative_zero.ll b/test/CodeGen/X86/negative_zero.ll index 3328a6afec..3c47b8f1fd 100644 --- a/test/CodeGen/X86/negative_zero.ll +++ b/test/CodeGen/X86/negative_zero.ll @@ -1,6 +1,6 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=-sse2,-sse3 | grep fchs +; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep fchs -double %T() { +define double @T() { ret double -1.0 ;; codegen as fld1/fchs, not as a load from cst pool } |