[llvm-commits] [llvm] r135298 - in /llvm/trunk/test/FrontendC: 2010-11-16-asmblock.c asm-reg-var-local.c
Eric Christopher
echristo at apple.com
Fri Jul 15 13:58:17 PDT 2011
Author: echristo
Date: Fri Jul 15 15:58:16 2011
New Revision: 135298
URL: http://llvm.org/viewvc/llvm-project?rev=135298&view=rev
Log:
Update these tests, no longer outputting names for the variables.
Modified:
llvm/trunk/test/FrontendC/2010-11-16-asmblock.c
llvm/trunk/test/FrontendC/asm-reg-var-local.c
Modified: llvm/trunk/test/FrontendC/2010-11-16-asmblock.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2010-11-16-asmblock.c?rev=135298&r1=135297&r2=135298&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2010-11-16-asmblock.c (original)
+++ llvm/trunk/test/FrontendC/2010-11-16-asmblock.c Fri Jul 15 15:58:16 2011
@@ -5,8 +5,8 @@
void foo()
{
-// CHECK: %0 = call i32 asm sideeffect "", "={ecx}"() nounwind
-// CHECK: %asmtmp = call i32 asm sideeffect alignstack "sall $$3, $0", "={ecx},{ecx},~{dirflag},~{fpsr},~{flags},~{memory}"(i32 %0) nounwind
+// 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"
__asm {
sal ecx, 3;
Modified: llvm/trunk/test/FrontendC/asm-reg-var-local.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/asm-reg-var-local.c?rev=135298&r1=135297&r2=135298&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/asm-reg-var-local.c (original)
+++ llvm/trunk/test/FrontendC/asm-reg-var-local.c Fri Jul 15 15:58:16 2011
@@ -10,14 +10,14 @@
// CHECK: store i32 5, i32* %a, align 4
asm volatile("; %0 This asm defines rsi" : "=r"(a));
-// CHECK: %asmtmp = call i32 asm sideeffect "; $0 This asm defines rsi", "={rsi}
+// CHECK: %1 = call i32 asm sideeffect "; $0 This asm defines rsi", "={rsi}
// CHECK: store i32 %asmtmp, i32* %a
a = 42;
// CHECK: store i32 42, i32* %a, align 4
asm volatile("; %0 This asm uses rsi" : : "r"(a));
-// CHECK: %1 = load i32* %a, align 4
+// CHECK: %1 = load i32* %a, align 4
// CHECK: call void asm sideeffect "", "{rsi}"(i32 %1) nounwind
// CHECK: %2 = call i32 asm sideeffect "", "={rsi}"() nounwind
// CHECK: call void asm sideeffect "; $0 This asm uses rsi", "{rsi},~{dirflag},~{fpsr},~{flags}"(i32 %2)
@@ -25,8 +25,8 @@
return a;
// CHECK: %3 = load i32* %a, align 4
// CHECK: call void asm sideeffect "", "{rsi}"(i32 %3) nounwind
-// CHECK: %4 = call i32 asm sideeffect "", "={rsi}"() nounwind
+// CHECK: %4 = call i32 asm sideeffect "", "={rsi}"() nounwind
// CHECK: store i32 %4, i32* %0, align 4
-// CHECK: %5 = load i32* %0, align 4
+// CHECK: %5 = load i32* %0, align 4
// CHECK: store i32 %5, i32* %retval, align 4
}
More information about the llvm-commits
mailing list