| Vasileios Kalintiris | 9876946 | 2015-07-28 21:43:31 +0000 | [diff] [blame^] | 1 | ; 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 | |
| 8 | define internal i32 @bar(i32 signext %a, i32 signext %b) { |
| 9 | %s = and i32 %a, %b |
| 10 | ret i32 %s |
| 11 | } |
| 12 | |
| 13 | define 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 | } |