blob: 300f8d1025e58e34d59fceda928b2707a8e6a300 [file] [log] [blame]
Pavel Chupine6617fc2014-09-09 11:54:12 +00001; 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
7define i32 @far() nounwind uwtable {
8entry:
Pavel Chupin37b65d82014-09-17 07:09:23 +00009; CHECK: callq foo
10; IA32: calll foo
Pavel Chupine6617fc2014-09-09 11:54:12 +000011 tail call void @foo() nounwind
12 ret i32 0
13}
14
15declare void @foo()