diff options
Diffstat (limited to 'llvm/test/CodeGen/SPARC/inlineasm.ll')
-rw-r--r-- | llvm/test/CodeGen/SPARC/inlineasm.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SPARC/inlineasm.ll b/llvm/test/CodeGen/SPARC/inlineasm.ll index a67a45e6b1d..12445ea9fa1 100644 --- a/llvm/test/CodeGen/SPARC/inlineasm.ll +++ b/llvm/test/CodeGen/SPARC/inlineasm.ll @@ -130,3 +130,12 @@ entry: tail call void asm sideeffect "faddd $0,$1,$2", "{f20},{f20},{f20}"(double 9.0, double 10.0, double 11.0) ret void } + +; CHECK-LABEL: test_constraint_r_f64: +; CHECK: std %o0, [%sp+96] +; CHECK: ldd [%sp+96], %f0 +define double @test_constraint_r_f64() { +entry: + %0 = call double asm sideeffect "", "=r"() + ret double %0 +} |