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