2014-04-03 05:22:03 +08:00
|
|
|
; RUN: llc -mtriple=arm-eabi %s -o /dev/null
|
2009-04-10 01:16:43 +08:00
|
|
|
; PR3954
|
|
|
|
|
|
|
|
define void @foo(...) nounwind {
|
|
|
|
entry:
|
|
|
|
%rr = alloca i32 ; <i32*> [#uses=2]
|
2015-02-28 05:17:42 +08:00
|
|
|
%0 = load i32, i32* %rr ; <i32> [#uses=1]
|
2009-04-10 01:16:43 +08:00
|
|
|
%1 = call i32 asm "nop", "=r,0"(i32 %0) nounwind ; <i32> [#uses=1]
|
|
|
|
store i32 %1, i32* %rr
|
|
|
|
br label %return
|
|
|
|
|
|
|
|
return: ; preds = %entry
|
|
|
|
ret void
|
|
|
|
}
|