diff --git a/llvm/test/Regression/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx b/llvm/test/Regression/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx new file mode 100644 index 000000000000..47ce1d9f9e75 --- /dev/null +++ b/llvm/test/Regression/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 ; [#uses=0] + ret double %X +}