fallback: translate: call llvm.experimental.vp.strided.load.nxv16i64.p0.i32

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.experimental.vp.strided.load.nxv16i64.p0.i32 M
Occurrences:3 in 3 configs, 1 test files, 6 more counted only
Snippet from:strided-vpload.e0c1241992.ll (mutant of strided-vpload.ll) @zero_strided_vadd_nxv16i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+zvfh -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 16 x i64> @zero_strided_vadd_nxv16i64(<vscale x 16 x i64> %v, ptr %ptr) {
  %vscale = call i32 @llvm.vscale.i32()
  %load = call <vscale x 16 x i64> @llvm.experimental.vp.strided.load.nxv16i64.p0.i32(ptr %ptr, i32 0, <vscale x 16 x i1> splat (i1 true), i32 %vscale)
  %B = sdiv <vscale x 16 x i64> %v, %load
  ret <vscale x 16 x i64> %B
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 16 x i64> @llvm.experimental.vp.strided.load.nxv16i64.p0.i32(ptr captures(none), i32, <vscale x 16 x i1>, i32) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vscale.i32() #1

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+zvfh -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+zvfh -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.vp.strided.load.nxv16i64.p0.i32: '  %load = call <vscale x 16 x i64> @llvm.experimental.vp.strided.load.nxv16i64.p0.i32(ptr %ptr, i32 0, <vscale x 16 x i1> splat (i1 true), i32 %vscale)' (in function: zero_strided_vadd_nxv16i64)
warning: Instruction selection used fallback path for zero_strided_vadd_nxv16i64

Occurrences (3):

InputFunctionConfig
strided-vpload.9a47f01fd1.ll (mutant of strided-vpload.ll)zero_strided_vadd_nxv16i64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin -O0
strided-vpload.c534a46e51.ll (mutant of strided-vpload.ll)zero_strided_vadd_nxv16i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+zvbb -O3
strided-vpload.e0c1241992.ll (mutant of strided-vpload.ll)zero_strided_vadd_nxv16i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+zvfh -O3

Generated 2026-11-29 14:49 UTC.