xref: /llvm-project/llvm/test/CodeGen/ARM/i1.ll (revision f63d701669ebb6c40f2b4b23a1c4061daed2d500)
1*f63d7016SRenato Golin; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2*f63d7016SRenato Golin
3*f63d7016SRenato Golindefine i32 @test1() {
4*f63d7016SRenato Golin; CHECK-LABEL: test1:
5*f63d7016SRenato Golin; CHECK:    mov r0, #0
6*f63d7016SRenato Golin; CHECK-NEXT:    cmp r0, #0
7*f63d7016SRenato Golinentry:
8*f63d7016SRenato Golin  br i1 undef, label %t, label %f
9*f63d7016SRenato Golin
10*f63d7016SRenato Golint:
11*f63d7016SRenato Golin  ret i32 4
12*f63d7016SRenato Golin
13*f63d7016SRenato Golinf:
14*f63d7016SRenato Golin  ret i32 2
15*f63d7016SRenato Golin}
16