aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-15 20:58:16 +0000
committerEric Christopher <echristo@apple.com>2011-07-15 20:58:16 +0000
commitd03ed6b8e76f59e560cd8e9ae5c15145da41e59a (patch)
tree68b1c2bd7d3f7f725a7b93b4688bb11199d19bd4 /test/FrontendC
parentd7932ca9627cdd9f913a37ee51f410819aa83cf3 (diff)
downloadexternal_llvm-d03ed6b8e76f59e560cd8e9ae5c15145da41e59a.zip
external_llvm-d03ed6b8e76f59e560cd8e9ae5c15145da41e59a.tar.gz
external_llvm-d03ed6b8e76f59e560cd8e9ae5c15145da41e59a.tar.bz2
Update these tests, no longer outputting names for the variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC')
-rw-r--r--test/FrontendC/2010-11-16-asmblock.c4
-rw-r--r--test/FrontendC/asm-reg-var-local.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/test/FrontendC/2010-11-16-asmblock.c b/test/FrontendC/2010-11-16-asmblock.c
index c264223..535c765 100644
--- a/test/FrontendC/2010-11-16-asmblock.c
+++ b/test/FrontendC/2010-11-16-asmblock.c
@@ -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;
diff --git a/test/FrontendC/asm-reg-var-local.c b/test/FrontendC/asm-reg-var-local.c
index 22bd43c..821dbaf 100644
--- a/test/FrontendC/asm-reg-var-local.c
+++ b/test/FrontendC/asm-reg-var-local.c
@@ -10,14 +10,14 @@ int foo() {
// 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 @@ int foo() {
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
}