xref: /aosp_15_r20/external/llvm/test/CodeGen/XCore/zextfree.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -march=xcore < %s | FileCheck %s
2
3; CHECK-LABEL: test:
4; CHECK-NOT: zext
5define void @test(i8* %s1) {
6entry:
7  %u8 = load i8, i8* %s1, align 1
8  %bool = icmp eq i8 %u8, 0
9  br label %BB1
10BB1:
11  br i1 %bool, label %BB1, label %BB2
12BB2:
13  br i1 %bool, label %BB1, label %BB2
14}
15
16