llvm.org GIT mirror llvm / release_50 test / Transforms / LoopDeletion / 2007-07-23-InfiniteLoop.ll
release_50

Tree @release_50 (Download .tar.gz)

2007-07-23-InfiniteLoop.ll @release_50raw · history · blame

; RUN: opt < %s -loop-deletion -S | grep switch
; PR 1564
  
define fastcc void @out() {
    start:
            br label %loop
    unreachable:
            unreachable
    loop:
            switch i32 0, label %unreachable [
                     i32 0, label %loop
            ]
}