diff options
-rw-r--r-- | test/Transforms/InstCombine/2006-02-28-Crash.ll | 6 |
1 files changed, 6 insertions, 0 deletions
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 0000000..17fc8b6 --- /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 ; <bool> [#uses=1] + %tmp203 = cast bool %tmp203 to int ; <int> [#uses=1] + ret int %tmp203 +} |