summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fp-immediate-shorten.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/fp-immediate-shorten.ll')
-rw-r--r--test/CodeGen/X86/fp-immediate-shorten.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fp-immediate-shorten.ll b/test/CodeGen/X86/fp-immediate-shorten.ll
index 62d8100..dc59c5a 100644
--- a/test/CodeGen/X86/fp-immediate-shorten.ll
+++ b/test/CodeGen/X86/fp-immediate-shorten.ll
@@ -1,7 +1,8 @@
;; Test that this FP immediate is stored in the constant pool as a float.
-; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | \
-; RUN: grep ".long.1123418112"
+; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | FileCheck %s
+
+; CHECK: {{.long.1123418112}}
define double @D() {
ret double 1.230000e+02
OpenPOWER on IntegriCloud