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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: lshr <vscale x N x i1> M
Occurrences:7 in 7 configs, 7 test files, 78 more counted only
Snippet from:fixed-vectors-fpext-vp.086cc2f431.ll (mutant of fixed-vectors-fpext-vp.ll) @vfpext_v2f32_v2f64_unmasked via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvfbfmin -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <2 x i1>

define <2 x double> @vfpext_v2f32_v2f64_unmasked(<2 x float> %a, i32 zeroext %vl) {
  %A = alloca <vscale x 4 x i1>, align 1
  store <vscale x 4 x i1> poison, ptr %A, align 1
  %C = fcmp one <2 x float> %a, %a
  %B = lshr <vscale x 4 x i1> zeroinitializer, splat (i1 true)
  %v = fpext <2 x float> %a to <2 x double>
  store <vscale x 4 x i1> %B, ptr %A, align 1
  store <2 x i1> %C, ptr @G.1, align 1
  ret <2 x double> %v
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: lshr: '  %B = lshr <vscale x 4 x i1> zeroinitializer, splat (i1 true)' (in function: vfpext_v2f32_v2f64_unmasked)
warning: Instruction selection used fallback path for vfpext_v2f32_v2f64_unmasked

Occurrences (7):

InputFunctionConfig
fixed-vectors-fpext-vp.086cc2f431.ll (mutant of fixed-vectors-fpext-vp.ll)vfpext_v2f32_v2f64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvfbfmin -O3
strided-vpstore.4b46078b73.ll (mutant of strided-vpstore.ll)strided_vpstore_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+zba -O0
vdivu-vp.22c6554dc7.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv32i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vfirst.7c5f95bc25.ll (mutant of vfirst.ll)intrinsic_vfirst_m_nxv1i1_zero-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a,+m -O2
vmaxu-vp.f74daf2e8c.ll (mutant of vmaxu-vp.ll)vmaxu_vx_nxv32i32_evl_nx8-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvbb -O2
vmflt-bf.448e1b1697.ll (mutant of vmflt-bf.ll)intrinsic_vmflt_mask_vv_nxv4bf16_nxv4bf16-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+f -O1
vreductions-fp-vp.649f2abd0b.ll (mutant of vreductions-fp-vp.ll)vpreduce_ord_fadd_nxv4f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zvbb -O0

Generated 2026-11-29 14:49 UTC.