xref: /llvm-project/llvm/test/CodeGen/XCore/zextfree.ll (revision f1987c74ee5637ec248675a9a7070654167a5260)
1; RUN: llc -mtriple=xcore < %s | FileCheck %s
2
3; CHECK-LABEL: test:
4; CHECK-NOT: zext
5define void @test(ptr %s1) {
6entry:
7  %u8 = load i8, ptr %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