llvm-project/llvm/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll

11 lines
203 B
LLVM

; RUN: opt < %s -adce -disable-output
; RUN: opt < %s -adce -adce-remove-loops -disable-output
define i32 @main() {
br label %loop
loop: ; preds = %loop, %0
br label %loop
}