blob: 223fa0f435c9e005dd912691fb2b7fbede639803 [file] [log] [blame]
Bob Wilsonaded9952009-04-09 17:16:43 +00001; RUN: llvm-as < %s | llc -march=arm
2; PR3954
3
4define void @foo(...) nounwind {
5entry:
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
12return: ; preds = %entry
13 ret void
14}