mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
300 B
LLVM
21 lines
300 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate -disable-output
|
|
|
|
int %foo() {
|
|
entry:
|
|
br label %return.i
|
|
|
|
after_ret.i:
|
|
br label %return.i
|
|
|
|
return.i:
|
|
%tmp.3 = cast int* null to int
|
|
br label %return.i1
|
|
|
|
after_ret.i1:
|
|
br label %return.i1
|
|
|
|
return.i1:
|
|
%tmp.8 = sub int %tmp.3, 0
|
|
ret int 0
|
|
}
|