diff options
-rw-r--r-- | test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx b/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx new file mode 100644 index 0000000..47ce1d9 --- /dev/null +++ b/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 + +implementation ; Functions: + +double %test(double %d) { + %X = select bool false, double %d, double %d ; <double> [#uses=0] + ret double %X +} |