Forgot this test.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 30 Mar 2009 06:17:34 +0000 (06:17 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 30 Mar 2009 06:17:34 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68025 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll [new file with mode: 0644]

diff --git a/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll b/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
new file mode 100644 (file)
index 0000000..0e31942
--- /dev/null
@@ -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
+}