[cfe-commits] r133241 - /cfe/trunk/test/CodeGen/arm-asm-variable.c

Eric Christopher echristo at apple.com
Thu Jun 16 23:16:34 PDT 2011


Author: echristo
Date: Fri Jun 17 01:16:34 2011
New Revision: 133241

URL: http://llvm.org/viewvc/llvm-project?rev=133241&view=rev
Log:
Clean up test to avoid using standard headers and remove an unneeded
#define.

Modified:
    cfe/trunk/test/CodeGen/arm-asm-variable.c

Modified: cfe/trunk/test/CodeGen/arm-asm-variable.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-asm-variable.c?rev=133241&r1=133240&r2=133241&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-asm-variable.c (original)
+++ cfe/trunk/test/CodeGen/arm-asm-variable.c Fri Jun 17 01:16:34 2011
@@ -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)
 {





More information about the cfe-commits mailing list