diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-08 03:58:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-08 03:58:21 +0000 |
commit | b37246d65ec28bfa6d6356ae931f0998ba98a246 (patch) | |
tree | ffaf2b9333617129799abb0ffc026e732c7cc180 /test | |
parent | 7e7fadd2ea20f8b78bf9d6d7ff9ac4488df67152 (diff) |
new testcase that crashes the instcombiner.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll b/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll new file mode 100644 index 00000000000..b41dbd5941d --- /dev/null +++ b/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +uint %test(bool %C, uint %tmp.15) { + %tmp.16 = select bool %C, uint 8, uint 1 + %tmp.18 = div uint %tmp.15, %tmp.16 + ret uint %tmp.18 +} |