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
/
compound.ll
blob
a3bd52f97194f675694ef3a02ebb364fa0b4e513
1
; RUN: llc -march=hexagon -filetype=obj -ifcvt-limit=0 -o - %s | llvm-objdump -d - | FileCheck %s
2
3
; CHECK: p0 = cmp.gt(r0,#-1); if (!p0.new) jump:nt
4
5
declare void @a()
6
declare void @b()
7
8
define void @foo(i32 %a) {
9
%b = icmp sgt i32 %a, -1
10
br i1 %b, label %x, label %y
11
x:
12
call void @a()
13
ret void
14
y:
15
call void @b()
16
ret void
17
}