aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/i1.ll
blob: 379cca192a2b758cc5c37297007a1423c536e9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
}