summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-10-21 23:29:12 +0000
committerDale Johannesen <dalej@apple.com>2009-10-21 23:29:12 +0000
commit7d977a3e80455013541f704b94944d9090e96e06 (patch)
treec9c91930a6f3e86a0c0132df12b86083cfd3b4e6
parent8ba2d5befc05ca73d3bac8708819bbbe759e2cf9 (diff)
downloadllvm-7d977a3e80455013541f704b94944d9090e96e06.tar.gz
llvm-7d977a3e80455013541f704b94944d9090e96e06.tar.bz2
llvm-7d977a3e80455013541f704b94944d9090e96e06.tar.xz
Adjust testcases for msasm -> alignstack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84796 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/alignstack.ll (renamed from test/Assembler/msasm.ll)12
-rw-r--r--test/FrontendC++/alignstack.cpp (renamed from test/FrontendC++/msasm.cpp)4
-rw-r--r--test/FrontendC/alignstack.c (renamed from test/FrontendC/msasm.c)4
3 files changed, 10 insertions, 10 deletions
diff --git a/test/Assembler/msasm.ll b/test/Assembler/alignstack.ll
index 5e32963abd..9f2059f722 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
index d8d1f37861..5438d6c324 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
index c1dfd2d3c6..30c00ff88e 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:
}