summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
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
commit878071e6d04cb0ebdf6bf5e829885710d8963cb6 (patch)
tree1098688bac42148da176ab46698c3cd2c941d370 /test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
parent24446d671a91a698c82d18e575b4f79498ed35ce (diff)
downloadllvm-878071e6d04cb0ebdf6bf5e829885710d8963cb6.tar.gz
llvm-878071e6d04cb0ebdf6bf5e829885710d8963cb6.tar.bz2
llvm-878071e6d04cb0ebdf6bf5e829885710d8963cb6.tar.xz
Forgot this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll')
-rw-r--r--test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll b/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
new file mode 100644
index 0000000000..0e31942e46
--- /dev/null
+++ b/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
+}