blob: 7a197b112a23edbb5832fba0bc44f7b7b9b5e3df [file] [log] [blame]
Vasileios Kalintiris98769462015-07-28 21:43:31 +00001; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
2; RUN: -fast-isel=true -mips-fast-isel -fast-isel-verbose 2>&1 | \
3; RUN: FileCheck %s
4
5; CHECK: FastISel missed call:
6; CHECK-SAME: %call = call fastcc i32 @foo(i32 signext %a, i32 signext %b)
7
8define internal i32 @bar(i32 signext %a, i32 signext %b) {
9 %s = and i32 %a, %b
10 ret i32 %s
11}
12
13define i32 @foo(i32 signext %a, i32 signext %b) {
14 %call = call fastcc i32 @foo(i32 signext %a, i32 signext %b)
15 ret i32 %call
16}