llvm-6502/test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll
Owen Anderson 9eb883a56a XFAIL this test for the moment. The real solution is to prevent ADCE
from transforming loops and adding a separate loop pass for removing
loops with know trip counts.  Until that happens, ADCE is miscompiling this code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49769 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-16 04:25:42 +00:00

15 lines
303 B
LLVM

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