[llvm-commits] [llvm] r135342 - /llvm/trunk/test/FrontendC/asm-reg-var-local.c
Eric Christopher
echristo at apple.com
Sat Jul 16 00:28:35 PDT 2011
Author: echristo
Date: Sat Jul 16 02:28:35 2011
New Revision: 135342
URL: http://llvm.org/viewvc/llvm-project?rev=135342&view=rev
Log:
More minor adjustments.
Modified:
llvm/trunk/test/FrontendC/asm-reg-var-local.c
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=135342&r1=135341&r2=135342&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/asm-reg-var-local.c (original)
+++ llvm/trunk/test/FrontendC/asm-reg-var-local.c Sat Jul 16 02:28:35 2011
@@ -17,16 +17,16 @@
// 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: 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)
+// CHECK: %2 = load i32* %a, align 4
+// CHECK: call void asm sideeffect "", "{rsi}"(i32 %2) nounwind
+// CHECK: %3 = call i32 asm sideeffect "", "={rsi}"() nounwind
+// CHECK: call void asm sideeffect "; $0 This asm uses rsi", "{rsi},~{dirflag},~{fpsr},~{flags}"(i32 %3)
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: store i32 %4, i32* %0, align 4
-// CHECK: %5 = load i32* %0, align 4
-// CHECK: store i32 %5, i32* %retval, align 4
+// CHECK: %4 = load i32* %a, align 4
+// CHECK: call void asm sideeffect "", "{rsi}"(i32 %4) nounwind
+// CHECK: %5 = call i32 asm sideeffect "", "={rsi}"() nounwind
+// CHECK: store i32 %5, i32* %0, align 4
+// CHECK: %6 = load i32* %0, align 4
+// CHECK: store i32 %6, i32* %retval, align 4
}
More information about the llvm-commits
mailing list