diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-17 06:16:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-17 06:16:34 +0000 |
commit | 3724020559653f11d1327ff41676a06afe3a678f (patch) | |
tree | 683c9c7569319829ef208c3bddbdb986fc9ee6ef | |
parent | 9a636e8403287af0d4db8fe5bf49dee719f5b754 (diff) |
Clean up test to avoid using standard headers and remove an unneeded
#define.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133241 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/arm-asm-variable.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGen/arm-asm-variable.c b/test/CodeGen/arm-asm-variable.c index 2cd60972f6..93df702aac 100644 --- a/test/CodeGen/arm-asm-variable.c +++ b/test/CodeGen/arm-asm-variable.c @@ -1,11 +1,7 @@ // RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s -#include <stdint.h> -#define ldrex_func(p, rl, rh) \ - __asm__ __volatile__( \ - "ldrexd%[_rl], %[_rh], [%[_p]]" \ - : [_rl] "=&r" (rl), [_rh] "=&r" (rh) \ - : [_p] "p" (p) : "memory") +typedef long long int64_t; +typedef unsigned int uint32_t; int64_t foo(int64_t v, volatile int64_t *p) { |