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
[ORC] Fail materialization in tasks that are destroyed before running.
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
maxud.ll
blob
01d1ed2987c90b3bcd4c88ecd8befac7625b48a3
1
; RUN: llc -mtriple=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
}