From 7d977a3e80455013541f704b94944d9090e96e06 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 21 Oct 2009 23:29:12 +0000 Subject: [PATCH] Adjust testcases for msasm -> alignstack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84796 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/{msasm.ll => alignstack.ll} | 12 ++++++------ test/FrontendC++/{msasm.cpp => alignstack.cpp} | 4 ++-- test/FrontendC/{msasm.c => alignstack.c} | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) rename test/Assembler/{msasm.ll => alignstack.ll} (74%) rename test/FrontendC++/{msasm.cpp => alignstack.cpp} (86%) rename test/FrontendC/{msasm.c => alignstack.c} (86%) diff --git a/test/Assembler/msasm.ll b/test/Assembler/alignstack.ll similarity index 74% rename from test/Assembler/msasm.ll rename to test/Assembler/alignstack.ll index 5e32963abd8..9f2059f722f 100644 --- a/test/Assembler/msasm.ll +++ b/test/Assembler/alignstack.ll @@ -5,7 +5,7 @@ target triple = "i386-apple-darwin10.0" define void @test1() nounwind { ; CHECK: test1 ; CHECK: sideeffect -; CHECK-NOT: msasm +; CHECK-NOT: alignstack tail call void asm sideeffect "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind ret void ; CHECK: ret @@ -13,23 +13,23 @@ define void @test1() nounwind { define void @test2() nounwind { ; CHECK: test2 ; CHECK: sideeffect -; CHECK: msasm - tail call void asm sideeffect msasm "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind +; CHECK: alignstack + tail call void asm sideeffect alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind ret void ; CHECK: ret } define void @test3() nounwind { ; CHECK: test3 ; CHECK-NOT: sideeffect -; CHECK: msasm - tail call void asm msasm "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind +; CHECK: alignstack + tail call void asm alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind ret void ; CHECK: ret } define void @test4() nounwind { ; CHECK: test4 ; CHECK-NOT: sideeffect -; CHECK-NOT: msasm +; CHECK-NOT: alignstack tail call void asm "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind ret void ; CHECK: ret diff --git a/test/FrontendC++/msasm.cpp b/test/FrontendC++/alignstack.cpp similarity index 86% rename from test/FrontendC++/msasm.cpp rename to test/FrontendC++/alignstack.cpp index d8d1f378618..5438d6c3244 100644 --- a/test/FrontendC++/msasm.cpp +++ b/test/FrontendC++/alignstack.cpp @@ -6,7 +6,7 @@ void Method3() { // CHECK: Method3 -// CHECK-NOT: msasm +// CHECK-NOT: alignstack asm("foo:"); // CHECK: return } @@ -14,7 +14,7 @@ void Method3() void Method4() { // CHECK: Method4 -// CHECK: msasm +// CHECK: alignstack asm { bar: } diff --git a/test/FrontendC/msasm.c b/test/FrontendC/alignstack.c similarity index 86% rename from test/FrontendC/msasm.c rename to test/FrontendC/alignstack.c index c1dfd2d3c69..30c00ff88e4 100644 --- a/test/FrontendC/msasm.c +++ b/test/FrontendC/alignstack.c @@ -6,7 +6,7 @@ void Method3() { // CHECK: Method3 -// CHECK-NOT: msasm +// CHECK-NOT: alignstack asm("foo:"); // CHECK: return } @@ -14,7 +14,7 @@ void Method3() void Method4() { // CHECK: Method4 -// CHECK: msasm +// CHECK: alignstack asm { bar: } -- 2.34.1