diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll | 12 |
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 +} |