repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
CodeGen
/
XCore
/
zextfree.ll
blob
d1e2b7f8578453077eb242957b9cfdd30750bb93
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, 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