blob: 857779fb4d2ae3afa34fde23aa0c3a3549880476 [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:
9; CHECK: callq
10; IA32: calll
11 tail call void @foo() nounwind
12 ret i32 0
13}
14
15declare void @foo()