// RUN: %clang_cc1 %s -emit-llvm -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*
  asm ("ldr %0, [%1]": "=r" (w0): "r" (src));
  return w0;
}

// RUN: %clang_cc1 %s -emit-llvm -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* %tmp)
  asm ("ldr %0, [%1]": "=r" (w0): "r" (src));
  return w0;
}

--- 
+++ 
@@ -3,7 +3,7 @@
 
 int test (void *src) {
   register int w0 asm ("0");
-  // CHECK: call i32 asm "ldr $0, [$1]", "={ax},r,~{dirflag},~{fpsr},~{flags}"(i8* %tmp)
+  // CHECK: call i32 asm "ldr $0, [$1]", "={ax},r,~{dirflag},~{fpsr},~{flags}"(i8*
   asm ("ldr %0, [%1]": "=r" (w0): "r" (src));
   return w0;
 }
Rewrite match line to be friendlier to misc buildbots.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136169 91177308-0d34-0410-b5e6-96231b3b80d8
