mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 05:00:39 +00:00
46a2716910
- Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118952 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
235 B
LLVM
13 lines
235 B
LLVM
; RUN: lli %s > /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
|
|
}
|
|
|