| Vasileios Kalintiris | 9876946 | 2015-07-28 21:43:31 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \ |
| Ahmed Bougacha | 6dd6082 | 2017-03-30 17:49:58 +0000 | [diff] [blame] | 2 | ; RUN: -pass-remarks-missed=isel 2>&1 | FileCheck %s |
| Vasileios Kalintiris | 9876946 | 2015-07-28 21:43:31 +0000 | [diff] [blame] | 3 | |
| 4 | ; CHECK: FastISel missed call: |
| 5 | ; CHECK-SAME: %call = call fastcc i32 @foo(i32 signext %a, i32 signext %b) |
| 6 | |
| 7 | define internal i32 @bar(i32 signext %a, i32 signext %b) { |
| 8 | %s = and i32 %a, %b |
| 9 | ret i32 %s |
| 10 | } |
| 11 | |
| 12 | define 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 | } |