diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-01 00:14:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-01 00:14:47 +0000 |
commit | f1c74595aa7b4c8919fc4de82ea26c1452fbfd18 (patch) | |
tree | e64d85c226fd68d00d868f41f27c1a422421ccb2 /llvm/test/CodeGen/ARM/inlineasm3.ll | |
parent | 3a4a4c5228bcbfa7c705b7e7468b1c32a78e0743 (diff) | |
download | bcm5719-llvm-f1c74595aa7b4c8919fc4de82ea26c1452fbfd18.tar.gz bcm5719-llvm-f1c74595aa7b4c8919fc4de82ea26c1452fbfd18.zip |
Add support for the 'x' constraint.
Part of rdar://9307836 and rdar://9119939
llvm-svn: 134215
Diffstat (limited to 'llvm/test/CodeGen/ARM/inlineasm3.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/inlineasm3.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/inlineasm3.ll b/llvm/test/CodeGen/ARM/inlineasm3.ll index 58687b96924..f09deb39f8c 100644 --- a/llvm/test/CodeGen/ARM/inlineasm3.ll +++ b/llvm/test/CodeGen/ARM/inlineasm3.ll @@ -58,3 +58,13 @@ entry: call void asm sideeffect "flds s15, $0 \0A", "*^Uvm,~{s15}"(float* @k.2126) nounwind ret i32 0 } + +; Radar 9307836 & 9119939 + +define float @t6(float %y) nounwind { +entry: +; CHECK: t6 +; CHECK: flds s15, s0 + %0 = tail call float asm "flds s15, $0", "=x"() nounwind + ret float %0 +} |