Debian Codegraph @

llvm/test/CodeGen/XCore/zextfree.ll

raw
1 ; RUN: llc -mtriple=xcore < %s | FileCheck %s
2
3 ; CHECK-LABEL: test:
4 ; CHECK-NOT: zext
5 define void @test(ptr %s1) {
6 entry:
7 %u8 = load i8, ptr %s1, align 1
8 %bool = icmp eq i8 %u8, 0
9 br label %BB1
10 BB1:
11 br i1 %bool, label %BB1, label %BB2
12 BB2:
13 br i1 %bool, label %BB1, label %BB2
14 }
15