projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[WebAssembly] Switch to MC for instruction printing.
[oota-llvm.git]
/
test
/
CodeGen
/
Hexagon
/
minud.ll
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
}