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
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
Hexagon
/
maxud.ll
blob
eca4faee602cd02206c9f1e16af691515eed7d36
1
; RUN: llc -march=hexagon < %s | FileCheck %s
2
; CHECK: maxu
3
4
define i64 @f(i64 %src, i64 %maxval) nounwind readnone {
5
entry:
6
%cmp = icmp ult i64 %maxval, %src
7
%cond = select i1 %cmp, i64 %src, i64 %maxval
8
ret i64 %cond
9
}