64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
16 lines
223 B
LLVM
16 lines
223 B
LLVM
; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
|
|
|
|
define i32 @test1() {
|
|
; CHECK-LABEL: test1:
|
|
; CHECK: mov r0, #0
|
|
; CHECK-NEXT: cmp r0, #0
|
|
entry:
|
|
br i1 undef, label %t, label %f
|
|
|
|
t:
|
|
ret i32 4
|
|
|
|
f:
|
|
ret i32 2
|
|
}
|