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