mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
5edf210bdf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51357 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
268 B
LLVM
14 lines
268 B
LLVM
; RUN: llvm-as %s -f -o %t.bc
|
|
; RUN: lli %t.bc > /dev/null
|
|
|
|
; test unconditional branch
|
|
define i32 @main() {
|
|
br label %Test
|
|
Test: ; preds = %Test, %0
|
|
%X = icmp eq i32 0, 4 ; <i1> [#uses=1]
|
|
br i1 %X, label %Test, label %Label
|
|
Label: ; preds = %Test
|
|
ret i32 0
|
|
}
|
|
|