Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-pc-linux -verify-machineinstrs | FileCheck %s
      2 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-pc-linux-gnux32 -verify-machineinstrs | FileCheck %s
      3 ; RUN: llc < %s -mcpu=generic -mtriple=i686-pc-linux -verify-machineinstrs | FileCheck %s -check-prefix=IA32
      4 
      5 ; trivial test for correct call suffix
      6 
      7 define i32 @far() nounwind uwtable {
      8 entry:
      9 ; CHECK: callq foo
     10 ; IA32: calll foo
     11   tail call void @foo() nounwind
     12   ret i32 0
     13 }
     14 
     15 declare void @foo()
     16