mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 15:33:33 +00:00
14 lines
292 B
LLVM
14 lines
292 B
LLVM
|
; RUN: llvm-as < %s | opt -adce | 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
|
||
|
]
|
||
|
}
|