mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
13 lines
185 B
LLVM
13 lines
185 B
LLVM
|
; RUN: llvm-as %s -disable-output
|
||
|
|
||
|
define i32 @foo() {
|
||
|
E:
|
||
|
br label %B2
|
||
|
B1:
|
||
|
br label %B2
|
||
|
B2:
|
||
|
%0 = phi i32 [ 0, %E ], [ 1, %B1 ], !dbg !0
|
||
|
ret i32 %0
|
||
|
}
|
||
|
|
||
|
!0 = metadata !{i32 42}
|