summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commitf64ea095c1e71065bd067ea0d110865d3c8837b7 (patch)
tree2a0740054c2f11fa46de7039771bd1325b1ac3fb /llvm/test
parent1cfb958b0014313ab53bfeb7422f8066eed583bc (diff)
downloadbcm5719-llvm-f64ea095c1e71065bd067ea0d110865d3c8837b7.tar.gz
bcm5719-llvm-f64ea095c1e71065bd067ea0d110865d3c8837b7.zip
Adjust testcases for msasm -> alignstack.
llvm-svn: 84796
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Assembler/alignstack.ll (renamed from llvm/test/Assembler/msasm.ll)12
-rw-r--r--llvm/test/FrontendC++/alignstack.cpp (renamed from llvm/test/FrontendC++/msasm.cpp)4
-rw-r--r--llvm/test/FrontendC/alignstack.c (renamed from llvm/test/FrontendC/msasm.c)4
3 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/Assembler/msasm.ll b/llvm/test/Assembler/alignstack.ll
index 5e32963abd8..9f2059f722f 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
index d8d1f378618..5438d6c3244 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
index c1dfd2d3c69..30c00ff88e4 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:
}
OpenPOWER on IntegriCloud