Adjust testcases for msasm -> alignstack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84796 91177308-0d34-0410-b5e6-96231b3b80d8
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 5e32963..9f2059f 100644
--- a/test/Assembler/msasm.ll
+++ b/test/Assembler/alignstack.ll
@@ -5,7 +5,7 @@
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 @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 85%
rename from test/FrontendC++/msasm.cpp
rename to test/FrontendC++/alignstack.cpp
index d8d1f37..5438d6c 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 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 c1dfd2d..30c00ff 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 Method4()
{
// CHECK: Method4
-// CHECK: msasm
+// CHECK: alignstack
asm {
bar:
}