1; RUN: llc -mtriple=arm-eabi %s -o /dev/null
2; PR3954
3
4define void @foo(...) nounwind {
5entry:
6	%rr = alloca i32		; <i32*> [#uses=2]
7	%0 = load i32, 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}
15