New testcase that crashes the instcombine pass. Dominance properties have

no meaning if the code is not reachable.

llvm-svn: 12657
This commit is contained in:
Chris Lattner 2004-04-05 02:01:32 +00:00
parent 677202b49e
commit e79fd5c766
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
; RUN: llvm-as < %s | opt -instcombine -disable-output
int %test() {
ret int 0
Loop:
%X = add int %X, 1
br label %Loop
}