repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[llvm/avr.git]
/
test
/
CodeGen
/
Alpha
/
i32_sub_1.ll
blob
7af813454072dadd13f4b31f93c3972dffb405a9
1
; Make sure this testcase codegens to the ctpop instruction
2
; RUN: llvm-as < %s | llc -march=alpha | grep -i {subl \$16,1,\$0}
3
4
5
define i32 @foo(i32 signext %x) signext {
6
entry:
7
%tmp.1 = add i32 %x, -1 ; <int> [#uses=1]
8
ret i32 %tmp.1
9
}