1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
3 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"
4 target triple = "i386-apple-darwin10.0"
6 define void @test1() nounwind {
9 ; CHECK-NOT: alignstack
10 tail call void asm sideeffect "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind
14 define void @test2() nounwind {
18 tail call void asm sideeffect alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind
22 define void @test3() nounwind {
24 ; CHECK-NOT: sideeffect
26 tail call void asm alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind
30 define void @test4() nounwind {
32 ; CHECK-NOT: sideeffect
33 ; CHECK-NOT: alignstack
34 tail call void asm "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind