fallback: translate: shl <vscale x N x i1>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: shl <vscale x N x i1> M
Occurrences:6 in 6 configs, 6 test files, 127 more counted only
Snippet from:vfmul-vp.e660dd719b.ll (mutant of vfmul-vp.ll) @vfmul_vf_nxv8f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x double> @vfmul_vf_nxv8f64(<vscale x 8 x double> %va, double %b, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %A = alloca <vscale x 8 x i1>, align 1
  store <vscale x 8 x i1> poison, ptr %A, align 1
  %elt.head = insertelement <vscale x 8 x double> poison, double %b, i32 0
  %B = shl <vscale x 8 x i1> %m, splat (i1 true)
  %vb = shufflevector <vscale x 8 x double> %elt.head, <vscale x 8 x double> poison, <vscale x 8 x i32> zeroinitializer
  %v = fmul <vscale x 8 x double> %va, %vb
  store <vscale x 8 x i1> %B, ptr %A, align 1
  ret <vscale x 8 x double> %v
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl <vscale x 8 x i1> %m, splat (i1 true)' (in function: vfmul_vf_nxv8f64)
warning: Instruction selection used fallback path for vfmul_vf_nxv8f64

Occurrences (6):

InputFunctionConfig
strided-vpload.5264ac70f8.ll (mutant of strided-vpload.ll)strided_vpload_nxv4bf16_unit_stride-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+zve64d -O1
vclmulh.d8b2bf4d03.ll (mutant of vclmulh.ll)intrinsic_vclmulh_mask_vv_nxv8i64_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvbc -O1
vfmul-vp.e660dd719b.ll (mutant of vfmul-vp.ll)vfmul_vf_nxv8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O0
vfrdiv.cd7dd32f66.ll (mutant of vfrdiv.ll)intrinsic_vfrdiv_mask_vf_nxv2f16_nxv2f16_f16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+zvfh -O1
vpscatter-sdnode.876273d339.ll (mutant of vpscatter-sdnode.ll)vpscatter_baseidx_nxv8i8_nxv8f64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zve64d -O2
vreductions-mask-vp.a56ebb3f4b.ll (mutant of vreductions-mask-vp.ll)vpreduce_umax_nxv64i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfhmin,+zbkb -O0

Generated 2026-11-29 14:49 UTC.