Fix a broadcast related regression on the vector shuffle lowering.
[oota-llvm.git] / test / CodeGen / X86 / fp-immediate-shorten.ll
index c20a2e8d58c4b86b1f6494408f6e0ff046ce3065..dc59c5a44b4e7381219a654fcc07a6ff1a97dd1c 100644 (file)
@@ -1,5 +1,10 @@
 ;; Test that this FP immediate is stored in the constant pool as a float.
 
-; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep '.long.1123418112'
+; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | FileCheck %s
+
+; CHECK: {{.long.1123418112}}
+
+define double @D() {
+        ret double 1.230000e+02
+}
 
-double %D() { ret double 123.0 }