diff options
author | Eric Christopher <echristo@apple.com> | 2012-08-13 18:18:52 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-08-13 18:18:52 +0000 |
commit | 001d219b9729684ea514068cff1cf79cd2e71121 (patch) | |
tree | 2d2ebf26a4bbab3bcf555647d4b072acabb60cc6 /test/CodeGen | |
parent | 365a1d48d85bba52c0c87ca3951b56a2c268c0f1 (diff) | |
download | external_llvm-001d219b9729684ea514068cff1cf79cd2e71121.zip external_llvm-001d219b9729684ea514068cff1cf79cd2e71121.tar.gz external_llvm-001d219b9729684ea514068cff1cf79cd2e71121.tar.bz2 |
Add support for the %H output modifier.
Patch by Weiming Zhao.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/ARM/arm-modifier.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arm-modifier.ll b/test/CodeGen/ARM/arm-modifier.ll index 396de37..5e12d8e 100644 --- a/test/CodeGen/ARM/arm-modifier.ll +++ b/test/CodeGen/ARM/arm-modifier.ll @@ -57,3 +57,12 @@ store i64 %0, i64* @f3_var, align 4 store i64 %1, i64* @f3_var, align 4 ret void } + +define i64 @f4(i64* %val) nounwind { +entry: + ;CHECK: f4 + ;CHECK: ldrexd [[REG1:(r[0-9]?[02468])]], {{r[0-9]?[13579]}}, [r0] + ;CHECK: mov r0, [[REG1]] + %0 = tail call i64 asm sideeffect "ldrexd $0, ${0:H}, [$1]", "=&r,r,*Qo"(i64* %val, i64* %val) nounwind + ret i64 %0 +} |