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
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
CodeGen
/
ARM
/
2009-04-09-RegScavengerAsm.ll
blob
223fa0f435c9e005dd912691fb2b7fbede639803
1
; RUN: llvm-as < %s | llc -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
}