Add dominance check for the instruction being hoisted.
[oota-llvm.git] / test / CodeGen / X86 / fp-immediate-shorten.ll
index 73c184b26e6116328f3052571790f03fafb0b173..cafc61a41ff2946c37209f9548dc7f06f1bc7847 100644 (file)
@@ -1,6 +1,9 @@
 ;; Test that this FP immediate is stored in the constant pool as a float.
 
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=-sse2,-sse3 | \
+; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | \
 ; RUN:   grep {.long.1123418112}
 
-double %D() { ret double 123.0 }
+define double @D() {
+        ret double 1.230000e+02
+}
+