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
/
CodeGen
/
Thumb2
/
thumb2-add3.ll
blob
03a817003afd4c488a2c7d700c5bb8047fa219c8
1
; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
2
3
define i32 @f1(i32 %a) {
4
%tmp = add i32 %a, 4095
5
ret i32 %tmp
6
}
7
8
; CHECK-LABEL: f1:
9
; CHECK: addw r0, r0, #4095