repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
CodeGen
/
ARM
/
2009-04-09-RegScavengerAsm.ll
blob
deb092bbf86e2f62f9d79c61648cf22b83d39723
1
; RUN: llc < %s -march=arm
2
; PR3954
3
4
define void @foo(...) nounwind {
5
entry:
6
%rr = alloca i32 ; <i32*> [#uses=2]
7
%0 = load i32* %rr ; <i32> [#uses=1]
8
%1 = call i32 asm "nop", "=r,0"(i32 %0) nounwind ; <i32> [#uses=1]
9
store i32 %1, i32* %rr
10
br label %return
11
12
return: ; preds = %entry
13
ret void
14
}