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

11 lines
203 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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
}