repo.or.cz
/
llvm-complete.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-complete.git]
/
test
/
CodeGen
/
Hexagon
/
bit-skip-byval.ll
blob
9ee4014ae346ad9df5da925109860ec4efc8428c
1
; RUN: llc -march=hexagon < %s | FileCheck %s
2
;
3
; Either and or zxtb.
4
; CHECK: r0 = and(r1,#255)
5
6
%struct.t0 = type { i32 }
7
8
define i32 @foo(%struct.t0* byval align 8 %s, i8 zeroext %t, i8 %u) #0 {
9
%a = zext i8 %u to i32
10
ret i32 %a
11
}