repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
bit-skip-byval.ll
blob
796d36ad7f414d3f2995434181a59cd4c9a60e2d
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(ptr byval(%struct.t0) align 8 %s, i8 zeroext %t, i8 %u) #0 {
9
%a = zext i8 %u to i32
10
ret i32 %a
11
}