fallback: translate: lshr <N x i32>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: lshr <N x i32> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:float-imm.3127fbb859.ll (mutant of float-imm.ll) @undef via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <4 x i32>
@G.3 = external global <4 x i32>

; Function Attrs: nounwind
define float @undef() #0 {
  %B = lshr <4 x i32> splat (i32 42), zeroinitializer
  store <4 x i32> %B, ptr @G.2, align 16
  %B1 = and <4 x i32> %B, %B
  store <4 x i32> %B1, ptr @G.3, align 16
  ret float undef
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
attributes-thead.3268ed6146.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadcondmov,+zhinx,+zbs -O2 -verify-machineinstrs
float-imm.3127fbb859.ll (mutant of float-imm.ll)undef-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2
float-maximum-minimum.5da64bca42.ll (mutant of float-maximum-minimum.ll)fmaximum_f32-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O0

Generated 2026-11-29 14:49 UTC.