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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: lshr <vscale x N x i1> M
Occurrences:11 in 11 configs, 9 test files, 109 more counted only
Snippet from:half-intrinsics.d5e7dd96d8.ll (mutant of half-intrinsics.ll) @atan_f16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @atan_f16(half %a) #0 {
  %B = lshr <vscale x 4 x i1> zeroinitializer, splat (i1 true)
  %1 = call half @llvm.atan.f16(half %a)
  store <vscale x 4 x i1> %B, ptr poison, align 1
  ret half %1
}

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

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0 -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: atan_f16)
warning: Instruction selection used fallback path for atan_f16

Occurrences (11):

InputFunctionConfig
half-intrinsics.d5e7dd96d8.ll (mutant of half-intrinsics.ll)atan_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zve32x -O0
lrint-vp.a4951c3be7.ll (mutant of lrint-vp.ll)lrint_nxv8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+d -O1
named-vector-shuffle-reverse.936c5ca207.ll (mutant of named-vector-shuffle-reverse.ll)reverse_nxv32i1-mtriple=riscv32 -riscv-v-vector-bits-max=512 -verify-machineinstrs -mattr=+m,+v,+f,+d,+zvfh,+zvfbfmin -O0
vfncvt-rod-bf-f.068b7d8caf.ll (mutant of vfncvt-rod-bf-f.ll)intrinsic_vfncvt_mask_rod.f.f.w_nxv16bf16_nxv16f32-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+experimental-zvfbfa,+m -O0 -code-model=small
vmfgt-bf.028859306a.ll (mutant of vmfgt-bf.ll)intrinsic_vmfgt_mask_vv_nxv2bf16_nxv2bf16-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+zbb,+zicsr -O1
vpload.93ec5dc826.ll (mutant of vpload.ll)vpload_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+zfhmin -O3 -code-model=medium
vpstore.98b9a2284b.ll (mutant of vpstore.ll)vpstore_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+xtheadba,+zfa -O0 -code-model=medium
vreductions-mask-vp.c388a1b07a.ll (mutant of vreductions-mask-vp.ll)vpreduce_umax_nxv2i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a -O3
vreductions-mask.b00ab1d125.ll (mutant of vreductions-mask.ll)vreduce_or_nxv1i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+c -O2
vreductions-mask.b572e23af2.ll (mutant of vreductions-mask.ll)vreduce_smax_nxv32i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3
vreductions-mask.d07dcd0858.ll (mutant of vreductions-mask.ll)vreduce_or_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+zba -O2

Generated 2026-11-29 14:49 UTC.