repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Fixup the creation of VPT blocks
[llvm-core.git]
/
test
/
CodeGen
/
NVPTX
/
minmax-negative.ll
blob
73bd9e049e7a7ffc11b0e2492effe9c7fc26a7ff
1
; RUN: llc < %s -march=nvptx -O0 | FileCheck %s
2
3
define i16 @test1(i16* %sur1) {
4
; CHECK-NOT: mov.u16 %rs{{[0-9]+}}, 32767
5
%_tmp21.i = icmp sle i16 0, 0
6
%_tmp22.i = select i1 %_tmp21.i, i16 0, i16 32767
7
store i16 %_tmp22.i, i16* %sur1
8
ret i16 0
9
}