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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: shl <vscale x N x i1> M
Occurrences:7 in 7 configs, 7 test files, 92 more counted only
Snippet from:named-vector-shuffle-reverse.2dd5abff1f.ll (mutant of named-vector-shuffle-reverse.ll) @reverse_nxv16i1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 16 x i1> @reverse_nxv16i1(<vscale x 16 x i1> %a) {
  %B = shl <vscale x 16 x i1> %a, %a
  %res = call <vscale x 16 x i1> @llvm.vector.reverse.nxv16i1(<vscale x 16 x i1> %B)
  ret <vscale x 16 x i1> %res
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i1> @llvm.vector.reverse.nxv16i1(<vscale x 16 x i1>) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl <vscale x 16 x i1> %a, %a' (in function: reverse_nxv16i1)
warning: Instruction selection used fallback path for reverse_nxv16i1

Occurrences (7):

InputFunctionConfig
named-vector-shuffle-reverse.2dd5abff1f.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv16i1-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfhmin,+zvfbfmin -O0 -code-model=medium
vmand.5b208a9b9d.ll (mutant of vmand.ll)intrinsic_vmand_mm_nxv32i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve64d -O3
vmaxu-vp.8e794b854a.ll (mutant of vmaxu-vp.ll)vmaxu_vv_nxv8i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1
vmsif.b7283e3e8e.ll (mutant of vmsif.ll)intrinsic_vmsif_mask_m_nxv64i1_nxv64i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbkb -O3
vp-reverse-mask.0c18af37e8.ll (mutant of vp-reverse-mask.ll)test_vp_reverse_nxv64i1_masked-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+zve32x -O2
vreductions-int-vp.c0d17ddc8f.ll (mutant of vreductions-int-vp.ll)vpreduce_smax_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a,+zvfh -O3
vreductions-mask-vp.5eef2ecaae.ll (mutant of vreductions-mask-vp.ll)vpreduce_umax_nxv16i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O2

Generated 2026-11-29 14:49 UTC.