fallback: translate: call llvm.riscv.vlseg2.triscv.vector.tuple_nxv4i8_2t.p0.i64

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.riscv.vlseg2.triscv.vector.tuple_nxv4i8_2t.p0.i64
Occurrences:17 in 6 configs, 2 test files
Snippet from:vlseg-rv64.ll @test_vlseg2_nxv4i8_triscv.vector.tuple_nxv4i8_2t via llvm-extract
Config:-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define target("riscv.vector.tuple", <vscale x 4 x i8>, 2) @test_vlseg2_nxv4i8_triscv.vector.tuple_nxv4i8_2t(ptr %base, i64 %vl) {
entry:
  %0 = tail call target("riscv.vector.tuple", <vscale x 4 x i8>, 2) @llvm.riscv.vlseg2.triscv.vector.tuple_nxv4i8_2t.p0.i64(target("riscv.vector.tuple", <vscale x 4 x i8>, 2) poison, ptr %base, i64 %vl, i64 3)
  ret target("riscv.vector.tuple", <vscale x 4 x i8>, 2) %0
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare target("riscv.vector.tuple", <vscale x 4 x i8>, 2) @llvm.riscv.vlseg2.triscv.vector.tuple_nxv4i8_2t.p0.i64(target("riscv.vector.tuple", <vscale x 4 x i8>, 2), ptr captures(none), i64, i64 immarg) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }

Reproduce:

llc -mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vlseg2.triscv.vector.tuple_nxv4i8_2t.p0.i64: '  %0 = tail call target("riscv.vector.tuple", <vscale x 4 x i8>, 2) @llvm.riscv.vlseg2.triscv.vector.tuple_nxv4i8_2t.p0.i64(target("riscv.vector.tuple", <vscale x 4 x i8>, 2) poison, ptr %base, i64 %vl, i64 3)' (in function: test_vlseg2_nxv4i8_triscv.vector.tuple_nxv4i8_2t)
warning: Instruction selection used fallback path for test_vlseg2_nxv4i8_triscv.vector.tuple_nxv4i8_2t

Occurrences (17) (first 15):

InputFunctionConfig
rv64-spill-zvlsseg.llspill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v -mattr=+m -O0
rv64-spill-zvlsseg.llspill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v -mattr=+m -O2
rv64-spill-zvlsseg.llspill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v -riscv-v-vector-bits-max=128 -O2
rv64-spill-zvlsseg.llspill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v,+m,+prefer-vsetvli-over-read-vlenb -O0
rv64-spill-zvlsseg.llspill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v,+m,+prefer-vsetvli-over-read-vlenb -O2
vlseg-rv64.lltest_vlseg2_nxv4i8_triscv.vector.tuple_nxv4i8_2t-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
vlseg-rv64.lltest_vlseg2_nxv2i16_triscv.vector.tuple_nxv4i8_2t-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
vlseg-rv64.lltest_vlseg2_nxv1i32_triscv.vector.tuple_nxv4i8_2t-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
vlseg-rv64.lltest_vlseg2_nxv2f16_triscv.vector.tuple_nxv4i8_2t-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
vlseg-rv64.lltest_vlseg2_nxv1f32_triscv.vector.tuple_nxv4i8_2t-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
vlseg-rv64.lltest_vlseg2_nxv2bf16_triscv.vector.tuple_nxv4i8_2t-mtriple=riscv64 -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -verify-machineinstrs
rv64-spill-zvlsseg.1cdca131fa.ll (mutant of rv64-spill-zvlsseg.ll)spill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v -mattr=+m -O2
rv64-spill-zvlsseg.1f7f2bdec8.ll (mutant of rv64-spill-zvlsseg.ll)spill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v -mattr=+m -O0
rv64-spill-zvlsseg.6072c78dff.ll (mutant of rv64-spill-zvlsseg.ll)spill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v,+m,+prefer-vsetvli-over-read-vlenb -O0
rv64-spill-zvlsseg.77484aed96.ll (mutant of rv64-spill-zvlsseg.ll)spill_zvlsseg_nxv1i32-mtriple=riscv64 -mattr=+v -riscv-v-vector-bits-max=128 -O2

Generated 2026-11-29 14:49 UTC.