summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-30 06:17:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-30 06:17:34 +0000
commit471ed6e460b6c901336fc2aaefff0afd35cd059b (patch)
treecd9c8201642973858f0710e7a31791504d0709ec
parenta865b79f871cb894efe42bed04b818c9c1f13570 (diff)
downloadbcm5719-llvm-471ed6e460b6c901336fc2aaefff0afd35cd059b.tar.gz
bcm5719-llvm-471ed6e460b6c901336fc2aaefff0afd35cd059b.zip
Forgot this test.
llvm-svn: 68025
-rw-r--r--llvm/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll b/llvm/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
new file mode 100644
index 00000000000..0e31942e468
--- /dev/null
+++ b/llvm/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -no-implicit-float
+
+define double @t(double %x) nounwind ssp {
+entry:
+ br i1 false, label %return, label %bb3
+
+bb3: ; preds = %entry
+ ret double 0.000000e+00
+
+return: ; preds = %entry
+ ret double undef
+}
OpenPOWER on IntegriCloud