1 ; RUN: llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' %s -o - 2>&1 | FileCheck %s -check-prefixes=CHECK
2 ; RUN: llc -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' %s -o - 2>&1 | FileCheck %s -check-prefixes=CHECK
4 ; This file checks that we use the fallback path for things that are known to
5 ; be unsupported on the RISC-V target. It should progressively shrink in size.
7 %byval.class = type { i32 }
9 declare void @test_byval_arg(ptr byval(%byval.class) %x)
11 define void @test_byval_param(ptr %x) {
12 ; CHECK: remark: {{.*}} unable to translate instruction: call
13 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_byval_param
14 call void @test_byval_arg(ptr byval(%byval.class) %x)