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

Will be re-reverting again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358552 91177308-0d34-0410-b5e6-96231b3b80d8
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
}