blob: 0aec8d506f778af7b0957ac0f91f7d8669cdb373 [file] [log] [blame]
Vasileios Kalintiris98769462015-07-28 21:43:31 +00001; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
Ahmed Bougacha6dd60822017-03-30 17:49:58 +00002; RUN: -pass-remarks-missed=isel 2>&1 | FileCheck %s
Vasileios Kalintiris98769462015-07-28 21:43:31 +00003
4; CHECK: FastISel missed call:
5; CHECK-SAME: %call = call fastcc i32 @foo(i32 signext %a, i32 signext %b)
6
7define internal i32 @bar(i32 signext %a, i32 signext %b) {
8 %s = and i32 %a, %b
9 ret i32 %s
10}
11
12define i32 @foo(i32 signext %a, i32 signext %b) {
13 %call = call fastcc i32 @foo(i32 signext %a, i32 signext %b)
14 ret i32 %call
15}