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
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
MC
/
Hexagon
/
inst_cmp_eqi.ll
blob
5d8132b70bb9b2628b4831f0bdcb54f34a5f516e
1
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
2
;; RUN: | llvm-objdump -d - | FileCheck %s
3
4
define i1 @foo (i32 %a)
5
{
6
%1 = icmp eq i32 %a, 42
7
ret i1 %1
8
}
9
10
; CHECK: p0 = cmp.eq(r0,#42)
11
; CHECK: r0 = p0
12
; CHECK: jumpr r31