diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-16 00:26:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-16 00:26:07 +0000 |
commit | 465c7aa97bae09eaf1143c94dacffde4b492b8e6 (patch) | |
tree | 98aeba40f19dbd6b213c2a27ee73e0d3364b1e85 | |
parent | af4e40c2f41a7d60b86958e034b00542d551b5f2 (diff) | |
download | external_llvm-465c7aa97bae09eaf1143c94dacffde4b492b8e6.zip external_llvm-465c7aa97bae09eaf1143c94dacffde4b492b8e6.tar.gz external_llvm-465c7aa97bae09eaf1143c94dacffde4b492b8e6.tar.bz2 |
Finish propagating %asmtmp->%1 change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135330 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/2010-11-16-asmblock.c | 2 | ||||
-rw-r--r-- | test/FrontendC/asm-reg-var-local.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/FrontendC/2010-11-16-asmblock.c b/test/FrontendC/2010-11-16-asmblock.c index 535c765..2d97681 100644 --- a/test/FrontendC/2010-11-16-asmblock.c +++ b/test/FrontendC/2010-11-16-asmblock.c @@ -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; diff --git a/test/FrontendC/asm-reg-var-local.c b/test/FrontendC/asm-reg-var-local.c index 821dbaf..b908be5 100644 --- a/test/FrontendC/asm-reg-var-local.c +++ b/test/FrontendC/asm-reg-var-local.c @@ -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 |