1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll
Chris Lattner f94bcf3c85 New testcase that crashes the instcombine pass. Dominance properties have
no meaning if the code is not reachable.

llvm-svn: 12657
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
}