diff options
-rw-r--r-- | test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll b/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll new file mode 100644 index 0000000000..fed675e318 --- /dev/null +++ b/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output +; PR577 + +bool %test() { + %tmp.3 = shl int 0, ubyte 41 ; <int> [#uses=1] + %tmp.4 = setne int %tmp.3, 0 ; <bool> [#uses=1] + ret bool %tmp.4 +} |