Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -no-integrated-as | FileCheck %s
      2 
      3 ; ModuleID = 'shant.c'
      4 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"
      5 target triple = "i386-apple-darwin9.6"
      6 
      7 define void @f() nounwind {
      8 ; CHECK-LABEL: f:
      9 ; CHECK-NOT: ret
     10 ; CHECK: foo $-81920
     11 ; CHECK-NOT: ret
     12 ; CHECK: foo $-81920
     13 ; CHECK-NOT: ret
     14 ; CHECK: foo $-81920
     15 ; CHECK-NOT: ret
     16 ; CHECK: foo $4294885376
     17 ; CHECK: ret
     18 
     19 	call void asm sideeffect "foo $0", "n,~{dirflag},~{fpsr},~{flags}"(i32 -81920) nounwind
     20 	call void asm sideeffect "foo $0", "i,~{dirflag},~{fpsr},~{flags}"(i32 -81920) nounwind
     21 	call void asm sideeffect "foo $0", "e,~{dirflag},~{fpsr},~{flags}"(i32 -81920) nounwind
     22 	call void asm sideeffect "foo $0", "Z,~{dirflag},~{fpsr},~{flags}"(i64 4294885376) nounwind
     23 	ret void
     24 }
     25