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
eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for
[llvm/avr.git]
/
test
/
Transforms
/
FunctionAttrs
/
2008-10-04-LocalMemory.ll
blob
09eb4687ac2633d7be3d6bebf1ef01b2e12d4395
1
; RUN: opt < %s -functionattrs -S | grep readnone | count 2
2
3
declare i32 @g(i32*) readnone
4
5
define i32 @f() {
6
%x = alloca i32 ; <i32*> [#uses=2]
7
store i32 0, i32* %x
8
%y = call i32 @g(i32* %x) ; <i32> [#uses=1]
9
ret i32 %y
10
}