new testcase that crashes the instcombiner.

llvm-svn: 21151
This commit is contained in:
Chris Lattner 2005-04-08 03:58:21 +00:00
parent b1f66d1af2
commit 9e2b5fc65a
1 changed files with 7 additions and 0 deletions

View File

@ -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
}