1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/CodeGen/XCore/zextfree.ll
2013-10-11 10:26:29 +00:00

16 lines
283 B
LLVM

; RUN: llc -march=xcore < %s | FileCheck %s
; CHECK-LABEL: test:
; CHECK-NOT: zext
define void @test(i8* %s1) {
entry:
%u8 = load i8* %s1, align 1
%bool = icmp eq i8 %u8, 0
br label %BB1
BB1:
br i1 %bool, label %BB1, label %BB2
BB2:
br i1 %bool, label %BB1, label %BB2
}