fallback: translate: extractelement <vscale x N x ptr>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: extractelement <vscale x N x ptr> M
Occurrences:6 in 6 configs, 3 test files, 14 more counted only
Snippet from:vpgather-sdnode.4d6d15e96b.ll (mutant of vpgather-sdnode.ll) @vpgather_truemask_nxv4i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c -O1 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128

define <vscale x 4 x i8> @vpgather_truemask_nxv4i8(<vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %LGV = load i128, ptr @G, align 4
  %E = extractelement <vscale x 4 x ptr> %ptrs, i128 %LGV
  %v = call <vscale x 4 x i8> %E(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  ret <vscale x 4 x i8> %v
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c -O1 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: extractelement: '  %E = extractelement <vscale x 4 x ptr> %ptrs, i128 %LGV' (in function: vpgather_truemask_nxv4i8)
warning: Instruction selection used fallback path for vpgather_truemask_nxv4i8

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.b3722a465b.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i32_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbs,+zihintpause -O2 -verify-machineinstrs
nontemporal-vp-scalable.c0c276e126.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i64_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+zfh,+v -O0 -verify-machineinstrs
strided-vpload.301fb97fbc.ll (mutant of strided-vpload.ll)zero_strided_vadd_nxv1p0-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin -O0
vpgather-sdnode.4d6d15e96b.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c -O1 -code-model=medium
vpgather-sdnode.4ed7de07fe.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+a -O2 -code-model=medium
vpgather-sdnode.4ef886ac68.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+a,+zvbb -O2

Generated 2026-11-29 14:49 UTC.