diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-29 21:18:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-29 21:18:58 +0000 |
commit | ef7f1e71f722fcca863c7d354f408e72181ff891 (patch) | |
tree | 48e58ac3fae43b65ecb3f91c0d43e6c37e2fcf29 /test | |
parent | b4f4cbd199318901d12737ded05ebebd8cb21336 (diff) | |
download | external_llvm-ef7f1e71f722fcca863c7d354f408e72181ff891.zip external_llvm-ef7f1e71f722fcca863c7d354f408e72181ff891.tar.gz external_llvm-ef7f1e71f722fcca863c7d354f408e72181ff891.tar.bz2 |
Add support for the 'Q' constraint.
Fixes rdar://9866494
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/inlineasm3.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/inlineasm3.ll b/test/CodeGen/ARM/inlineasm3.ll index 853585d..cb5243c 100644 --- a/test/CodeGen/ARM/inlineasm3.ll +++ b/test/CodeGen/ARM/inlineasm3.ll @@ -98,3 +98,15 @@ entry: %0 = tail call i32 asm "movw $0, $1", "=r,j"(i32 27182) nounwind ret i32 %0 } + +; Radar 9866494 + +define void @t10(i8* %f, i32 %g) nounwind { +entry: +; CHECK: t10 +; CHECK: str r1, [r0] + %f.addr = alloca i8*, align 4 + store i8* %f, i8** %f.addr, align 4 + call void asm "str $1, $0", "=*Q,r"(i8** %f.addr, i32 %g) nounwind + ret void +} |