projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase
[oota-llvm.git]
/
test
/
CodeGen
/
Alpha
/
i32_sub_1.ll
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
implementation ; Functions:
5
6
int %foo(int %x) {
7
entry:
8
%tmp.1 = add int %x, -1 ; <int> [#uses=1]
9
ret int %tmp.1
10
}