]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/XCore/zextfree.ll
Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / CodeGen / XCore / zextfree.ll
1 ; RUN: llc -march=xcore < %s | FileCheck %s
2
3 ; CHECK-LABEL: test:
4 ; CHECK-NOT: zext
5 define void @test(i8* %s1) {
6 entry:
7   %u8 = load i8* %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