llvm-6502/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll
Chris Lattner ec3f8cd551 New testcase that crashes the instcombine pass. Dominance properties have
no meaning if the code is not reachable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12657 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-05 02:01:32 +00:00

9 lines
125 B
LLVM

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