[ARM] Use symbolic register names in .cfi directives only with IAS (PR19110)
[oota-llvm.git] / test / CodeGen / ARM / 2009-04-09-RegScavengerAsm.ll
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 }