diff --git a/test/Transforms/InstCombine/2006-02-28-Crash.ll b/test/Transforms/InstCombine/2006-02-28-Crash.ll new file mode 100644 index 00000000000..17fc8b668f9 --- /dev/null +++ b/test/Transforms/InstCombine/2006-02-28-Crash.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output +int %test() { + %tmp203 = seteq uint 1, 2 ; [#uses=1] + %tmp203 = cast bool %tmp203 to int ; [#uses=1] + ret int %tmp203 +}