llvm-project/llvm/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll
Eric Christopher cee313d288 Revert "Temporarily Revert "Add basic loop fusion pass.""
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
2019-04-17 04:52:47 +00:00

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
}