2008-04-30 07:17:22 +00:00
|
|
|
; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch
|
2007-07-24 01:02:25 +00:00
|
|
|
; PR 1564
|
|
|
|
|
|
|
|
define fastcc void @out() {
|
|
|
|
start:
|
|
|
|
br label %loop
|
|
|
|
unreachable:
|
|
|
|
unreachable
|
|
|
|
loop:
|
|
|
|
switch i32 0, label %unreachable [
|
|
|
|
i32 0, label %loop
|
|
|
|
]
|
|
|
|
}
|