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 000000000000..0e31942e468d --- /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 +}