Adjust testcases for msasm -> alignstack.

llvm-svn: 84796
This commit is contained in:
Dale Johannesen 2009-10-21 23:29:12 +00:00
parent 1cfb958b00
commit f64ea095c1
3 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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:
}

View File

@ -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:
}