mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
f396cc8730
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48529 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
255 B
LLVM
14 lines
255 B
LLVM
; RUN: llvm-as < %s | opt -sccp -disable-output
|
|
|
|
declare i32 @foo()
|
|
|
|
define void @caller() {
|
|
br i1 true, label %T, label %F
|
|
F: ; preds = %0
|
|
%X = invoke i32 @foo( )
|
|
to label %T unwind label %T ; <i32> [#uses=0]
|
|
T: ; preds = %F, %F, %0
|
|
ret void
|
|
}
|
|
|