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
/
maxuw.ll
blob
0dba1f5acdef0727508935ad33ca16e76a44901a
1
; RUN: llc -march=hexagon < %s | FileCheck %s
2
; CHECK: maxu
3
4
define i32 @f(i32 %src, i32 %maxval) nounwind readnone {
5
entry:
6
%cmp = icmp ult i32 %maxval, %src
7
%cond = select i1 %cmp, i32 %src, i32 %maxval
8
ret i32 %cond
9
}