23 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=riscv32 -global-isel -global-isel-abort=2 \3; RUN: -pass-remarks-missed='gisel*' -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin \4; RUN: %s -o %t.out 2> %t.err5; RUN: FileCheck %s --check-prefix=FALLBACK-WITH-REPORT-OUT < %t.out6; RUN: FileCheck %s --check-prefix=FALLBACK-WITH-REPORT-ERR < %t.err7 8; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call9; FALLBACK-WITH-REPORT-OUT-LABEL: test_vlseg2_nxv1i8_triscv.vector.tuple_nxv1i8_2t10define target("riscv.vector.tuple", <vscale x 1 x i8>, 2) @test_vlseg2_nxv1i8_triscv.vector.tuple_nxv1i8_2t(ptr %base, i32 %vl) {11entry:12 %0 = tail call target("riscv.vector.tuple", <vscale x 1 x i8>, 2) @llvm.riscv.vlseg2.triscv.vector.tuple_nxv1i8_2t(target("riscv.vector.tuple", <vscale x 1 x i8>, 2) poison, ptr %base, i32 %vl, i32 3)13 ret target("riscv.vector.tuple", <vscale x 1 x i8>, 2) %014}15 16; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to lower arguments17; FALLBACK-WITH-REPORT-OUT-LABEL: test_vsseg2_nxv1i8_triscv.vector.tuple_nxv1i8_2t18define void @test_vsseg2_nxv1i8_triscv.vector.tuple_nxv1i8_2t(target("riscv.vector.tuple", <vscale x 1 x i8>, 2) %val, ptr %base, i32 %vl) {19entry:20 tail call void @llvm.riscv.vsseg2.triscv.vector.tuple_nxv1i8_2t(target("riscv.vector.tuple", <vscale x 1 x i8>, 2) %val, ptr %base, i32 %vl, i32 3)21 ret void22}23