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