brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 784f44a Raw
38 lines · plain
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s2; RUN: verify-uselistorder %s3target 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"4target triple = "i386-apple-darwin10.0"5 6define void @test1() nounwind {7; CHECK: test18; CHECK: sideeffect9; CHECK-NOT: alignstack10	tail call void asm sideeffect "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind11	ret void12; CHECK: ret13}14define void @test2() nounwind {15; CHECK: test216; CHECK: sideeffect17; CHECK: alignstack18	tail call void asm sideeffect alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind19	ret void20; CHECK: ret21}22define void @test3() nounwind {23; CHECK: test324; CHECK-NOT: sideeffect25; CHECK: alignstack26	tail call void asm alignstack "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind27	ret void28; CHECK: ret29}30define void @test4() nounwind {31; CHECK: test432; CHECK-NOT: sideeffect33; CHECK-NOT: alignstack34	tail call void asm  "mov", "~{dirflag},~{fpsr},~{flags}"() nounwind35	ret void36; CHECK: ret37}38