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
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
MC
/
Hexagon
/
inst_cmp_eq.ll
blob
5c483451d713dd66957d27e423704f81774bafb0
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, i32 %b)
5
{
6
%1 = icmp eq i32 %a, %b
7
ret i1 %1
8
}
9
10
; CHECK: p0 = cmp.eq(r0,r1)
11
; CHECK: r0 = p0
12
; CHECK: jumpr r31