From f64ea095c1e71065bd067ea0d110865d3c8837b7 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. llvm-svn: 84796 --- llvm/test/Assembler/{msasm.ll => alignstack.ll} | 12 ++++++------ llvm/test/FrontendC++/{msasm.cpp => alignstack.cpp} | 4 ++-- llvm/test/FrontendC/{msasm.c => alignstack.c} | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) rename llvm/test/Assembler/{msasm.ll => alignstack.ll} (74%) rename llvm/test/FrontendC++/{msasm.cpp => alignstack.cpp} (86%) rename llvm/test/FrontendC/{msasm.c => alignstack.c} (86%) diff --git a/llvm/test/Assembler/msasm.ll b/llvm/test/Assembler/alignstack.ll similarity index 74% rename from llvm/test/Assembler/msasm.ll rename to llvm/test/Assembler/alignstack.ll index 5e32963abd8e..9f2059f722fa 100644 --- a/llvm/test/Assembler/msasm.ll +++ b/llvm/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/llvm/test/FrontendC++/msasm.cpp b/llvm/test/FrontendC++/alignstack.cpp similarity index 86% rename from llvm/test/FrontendC++/msasm.cpp rename to llvm/test/FrontendC++/alignstack.cpp index d8d1f378618d..5438d6c32440 100644 --- a/llvm/test/FrontendC++/msasm.cpp +++ b/llvm/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/llvm/test/FrontendC/msasm.c b/llvm/test/FrontendC/alignstack.c similarity index 86% rename from llvm/test/FrontendC/msasm.c rename to llvm/test/FrontendC/alignstack.c index c1dfd2d3c698..30c00ff88e44 100644 --- a/llvm/test/FrontendC/msasm.c +++ b/llvm/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: }