Finish propagating %asmtmp->%1 change.
authorEric Christopher <echristo@apple.com>
Sat, 16 Jul 2011 00:26:07 +0000 (00:26 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 16 Jul 2011 00:26:07 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135330 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2010-11-16-asmblock.c
test/FrontendC/asm-reg-var-local.c

index 535c7654c256ac9e032e0ffaf400f4f6ff1a4e0f..2d9768150e98524f31588d68e1c61ba21758e259 100644 (file)
@@ -7,7 +7,7 @@ void foo()
 {
 // CHECK:  %0 = call i32 asm sideeffect "", "={ecx}"() nounwind
 // CHECK:  %1 = call i32 asm sideeffect alignstack "sall $$3, $0", "={ecx},{ecx},~{dirflag},~{fpsr},~{flags},~{memory}"(i32 %0) nounwind
-// CHECK:  store i32 %asmtmp, i32* %"%ecx"
+// CHECK:  store i32 %1, i32* %"%ecx"
  __asm {
    sal ecx, 3;
    add esi, ecx;
index 821dbafbd9703b552bae2a07f9e03cb3d91277e0..b908be52c4b81ab17ceb39d2fc1c398b1d0f0878 100644 (file)
@@ -11,7 +11,7 @@ int foo() {
 
   asm volatile("; %0 This asm defines rsi" : "=r"(a));
 // CHECK: %1 = call i32 asm sideeffect "; $0 This asm defines rsi", "={rsi}
-// CHECK: store i32 %asmtmp, i32* %a
+// CHECK: store i32 %1, i32* %a
 
   a = 42;
 // CHECK:  store i32 42, i32* %a, align 4