llvm-project/llvm/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.ll

8 lines
181 B
LLVM

; RUN: llvm-as < %s | llc -march=x86
define double @test(double %d) {
%X = select i1 false, double %d, double %d ; <double> [#uses=1]
ret double %X
}