mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 15:33:16 +00:00
0cad8444cc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50474 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
299 B
LLVM
14 lines
299 B
LLVM
; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch
|
|
; PR 1564
|
|
|
|
define fastcc void @out() {
|
|
start:
|
|
br label %loop
|
|
unreachable:
|
|
unreachable
|
|
loop:
|
|
switch i32 0, label %unreachable [
|
|
i32 0, label %loop
|
|
]
|
|
}
|