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_sub.ll
blob
51d38c9d20f8cc347e48f9de8c9035ff14e9a5ae
1
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
2
;; RUN: | llvm-objdump -s - | FileCheck %s
3
4
define i32 @foo (i32 %a, i32 %b)
5
{
6
%1 = sub i32 %a, %b
7
ret i32 %1
8
}
9
10
; CHECK: 0000 004021f3 00c09f52