1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
3 target triple = "i386-apple-darwin10.0"
5 define void @test1() nounwind {
8 ; CHECK-NOT: alignstack
9 tail call void asm sideeffect "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind
13 define void @test2() nounwind {
17 tail call void asm sideeffect alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind
21 define void @test3() nounwind {
23 ; CHECK-NOT: sideeffect
25 tail call void asm alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind
29 define void @test4() nounwind {
31 ; CHECK-NOT: sideeffect
32 ; CHECK-NOT: alignstack
33 tail call void asm "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind