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
[MIPS GlobalISel] Select MSA vector generic and builtin add
[llvm-complete.git]
/
test
/
CodeGen
/
Hexagon
/
dont_rotate_pregs_at_O2.ll
blob
937877ea285857056e86b302f4f5c0e09b406285
1
; RUN: llc -march=hexagon -O2 < %s | FileCheck %s
2
3
; CHECK-NOT: p1 =
4
5
define i32 @f0(i32 %a0, i32 %a1) #0 {
6
b0:
7
%v0 = icmp slt i32 %a0, %a1
8
br i1 %v0, label %b1, label %b2
9
10
b1:
11
ret i32 0
12
13
b2:
14
%v1 = icmp slt i32 %a1, 100
15
%v2 = select i1 %v1, i32 123, i32 321
16
ret i32 %v2
17
}