fallback: translate: call llvm.vp.load.nxv6i32.p0

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.load.nxv6i32.p0 M
Occurrences:6 in 5 configs, 1 test files, 4 more counted only
Snippet from:vp-vector-interleaved-access.86d9152e5f.ll (mutant of vp-vector-interleaved-access.ll) @load_factor3_partial via llvm-extract
Config:-mtriple=riscv64 -mattr=+v,+m,+zvfh -O0 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1

define { <vscale x 2 x i32>, <vscale x 2 x i32> } @load_factor3_partial(ptr %ptr, i32 zeroext %evl) {
  %C = icmp ult i16 42, 1
  %rvl = mul nuw i32 %evl, 3
  %wide.masked.load = call <vscale x 6 x i32> @llvm.vp.load.nxv6i32.p0(ptr %ptr, <vscale x 6 x i1> splat (i1 true), i32 %rvl)
  %deinterleaved.results = call { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } @llvm.vector.deinterleave3.nxv6i32(<vscale x 6 x i32> %wide.masked.load)
  %t0 = extractvalue { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } %deinterleaved.results, 0
  %t2 = extractvalue { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } %deinterleaved.results, 2
  %res0 = insertvalue { <vscale x 2 x i32>, <vscale x 2 x i32> } poison, <vscale x 2 x i32> %t0, 0
  %res1 = insertvalue { <vscale x 2 x i32>, <vscale x 2 x i32> } %res0, <vscale x 2 x i32> %t2, 1
  store i1 %C, ptr @G.1, align 1
  ret { <vscale x 2 x i32>, <vscale x 2 x i32> } %res1
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } @llvm.vector.deinterleave3.nxv6i32(<vscale x 6 x i32>) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 6 x i32> @llvm.vp.load.nxv6i32.p0(ptr captures(none), <vscale x 6 x i1>, i32) #1

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

Reproduce:

llc -mtriple=riscv64 -mattr=+v,+m,+zvfh -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v,+m,+zvfh -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv6i32.p0: '  %wide.masked.load = call <vscale x 6 x i32> @llvm.vp.load.nxv6i32.p0(ptr %ptr, <vscale x 6 x i1> splat (i1 true), i32 %rvl)' (in function: load_factor3_partial)
warning: Instruction selection used fallback path for load_factor3_partial

Occurrences (6):

InputFunctionConfig
vp-vector-interleaved-access.6f2677661f.ll (mutant of vp-vector-interleaved-access.ll)load_factor3_partial-mtriple=riscv64 -mattr=+v,+m,+zcb -O0 -code-model=medium -verify-machineinstrs
vp-vector-interleaved-access.8068d4be75.ll (mutant of vp-vector-interleaved-access.ll)load_factor3_v2-mtriple=riscv32 -mattr=+v,+m,+zvbb -O0 -verify-machineinstrs
vp-vector-interleaved-access.8068d4be75.ll (mutant of vp-vector-interleaved-access.ll)load_factor3_partial-mtriple=riscv32 -mattr=+v,+m,+zvbb -O0 -verify-machineinstrs
vp-vector-interleaved-access.86d9152e5f.ll (mutant of vp-vector-interleaved-access.ll)load_factor3_partial-mtriple=riscv64 -mattr=+v,+m,+zvfh -O0 -verify-machineinstrs
vp-vector-interleaved-access.99159baa90.ll (mutant of vp-vector-interleaved-access.ll)load_factor3_partial-mtriple=riscv64 -mattr=+v,+m -O3 -verify-machineinstrs
vp-vector-interleaved-access.a79f88f754.ll (mutant of vp-vector-interleaved-access.ll)load_factor3_partial-mtriple=riscv32 -mattr=+v,+m,+zfhmin,+zvkb -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.