diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-28 00:08:06 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-28 00:08:06 +0000 |
commit | b65580334cc790ee097828d728d55fd3c1987f41 (patch) | |
tree | c825965456439e933a4156fe5e2c3b0e0afa1183 | |
parent | 2a077fd19affe5c91a639890c87281177b2ba7a4 (diff) |
This was meant to test arm anyhow, make the registers agree with the
instruction and the architecture for which the instruction exists.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136301 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/2010-05-26-AsmSideEffect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/2010-05-26-AsmSideEffect.c b/test/CodeGen/2010-05-26-AsmSideEffect.c index e99ec61880..c9231e2533 100644 --- a/test/CodeGen/2010-05-26-AsmSideEffect.c +++ b/test/CodeGen/2010-05-26-AsmSideEffect.c @@ -1,9 +1,9 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s // Radar 8026855 int test (void *src) { register int w0 asm ("0"); - // CHECK: call i32 asm "ldr $0, [$1]", "={ax},r,~{dirflag},~{fpsr},~{flags}"(i8* + // CHECK: call i32 asm "ldr $0, [$1]", "={r0},r,~{dirflag},~{fpsr},~{flags}"(i8* asm ("ldr %0, [%1]": "=r" (w0): "r" (src)); return w0; } |