]> granicus.if.org Git - clang/commitdiff
Clean up test to avoid using standard headers and remove an unneeded
authorEric Christopher <echristo@apple.com>
Fri, 17 Jun 2011 06:16:34 +0000 (06:16 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 17 Jun 2011 06:16:34 +0000 (06:16 +0000)
#define.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133241 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/arm-asm-variable.c

index 2cd60972f61126b9c46fec174c3f514bf7d62f5d..93df702aac3823ec6ec6fb0c598ea8aaa6b33b72 100644 (file)
@@ -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)
 {