[cfe-commits] r136173 - /cfe/trunk/test/CodeGen/asm-reg-var-local.c

Eric Christopher echristo at apple.com
Tue Jul 26 15:52:35 PDT 2011


Author: echristo
Date: Tue Jul 26 17:52:35 2011
New Revision: 136173

URL: http://llvm.org/viewvc/llvm-project?rev=136173&view=rev
Log:
Generalize for various build bots.

Modified:
    cfe/trunk/test/CodeGen/asm-reg-var-local.c

Modified: cfe/trunk/test/CodeGen/asm-reg-var-local.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/asm-reg-var-local.c?rev=136173&r1=136172&r2=136173&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/asm-reg-var-local.c (original)
+++ cfe/trunk/test/CodeGen/asm-reg-var-local.c Tue Jul 26 17:52:35 2011
@@ -2,23 +2,23 @@
 // Exercise various use cases for local asm "register variables".
 
 int foo() {
-// CHECK: %a = alloca i32
+// CHECK: [[A:%[a-zA-Z0-9]+]] = alloca i32
 
   register int a asm("rsi")=5;
-// CHECK: store i32 5, i32* %a
+// CHECK: store i32 5, i32* [[A]]
 
   asm volatile("; %0 This asm defines rsi" : "=r"(a));
-// CHECK: %0 = call i32 asm sideeffect "; $0 This asm defines rsi", "={rsi},~{dirflag},~{fpsr},~{flags}"()
-// CHECK: store i32 %0, i32* %a
+// CHECK: [[Z:%[a-zA-Z0-9]+]] = call i32 asm sideeffect "; $0 This asm defines rsi", "={rsi},~{dirflag},~{fpsr},~{flags}"()
+// CHECK: store i32 [[Z]], i32* [[A]]
 
   a = 42;
-// CHECK:  store i32 42, i32* %a
+// CHECK:  store i32 42, i32* [[A]]
 
   asm volatile("; %0 This asm uses rsi" : : "r"(a));
-// CHECK:  %tmp = load i32* %a
-// CHECK:  call void asm sideeffect "; $0 This asm uses rsi", "{rsi},~{dirflag},~{fpsr},~{flags}"(i32 %tmp)
+// CHECK:  [[TMP:%[a-zA-Z0-9]+]] = load i32* [[A]]
+// CHECK:  call void asm sideeffect "; $0 This asm uses rsi", "{rsi},~{dirflag},~{fpsr},~{flags}"(i32 [[TMP]])
 
   return a;
-// CHECK:  %tmp1 = load i32* %a
-// CHECK:  ret i32 %tmp1
+// CHECK:  [[TMP1:%[a-zA-Z0-9]+]] = load i32* [[A]]
+// CHECK:  ret i32 [[TMP1]]
 }





More information about the cfe-commits mailing list