fallback: translate: load <N x i16>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: load <N x i16> M
Occurrences:18 in 17 configs, 13 test files, 69 more counted only
Snippet from:urem-vector-lkk.0eb642cf32.ll (mutant of urem-vector-lkk.ll) @dont_fold_urem_one via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zvbb,+zhinx -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x i16>

; Function Attrs: nounwind
define <4 x i16> @dont_fold_urem_one(<4 x i16> %x) #0 {
  %LGV = load <4 x i16>, ptr @G, align 8
  %C = icmp ugt <4 x i16> %x, %LGV
  %1 = urem <4 x i16> %x, <i16 1, i16 654, i16 23, i16 5423>
  store <4 x i1> %C, ptr poison, align 1
  ret <4 x i16> %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: load: '  %LGV = load <4 x i16>, ptr @G, align 8' (in function: dont_fold_urem_one)
warning: Instruction selection used fallback path for dont_fold_urem_one

Occurrences (18) (first 15):

InputFunctionConfig
fixed-vectors-fshr-fshl-vp.907504bd39.ll (mutant of fixed-vectors-fshr-fshl-vp.ll)fshl_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O0
fixed-vectors-vor-vp.53fffb3f88.ll (mutant of fixed-vectors-vor-vp.ll)vor_vx_v16i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0
fixed-vectors-vwmulsu.c64b29c8f7.ll (mutant of fixed-vectors-vwmulsu.ll)vwmulsu_vx_v8i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
rvp-narrowing-zip.4c55f8fca5.ll (mutant of rvp-narrowing-zip.ll)test_pnziph_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx,+zicsr -O3
rvp-shift-splat-legalization.a47a708701.ll (mutant of rvp-shift-splat-legalization.ll)shl_v4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zba,+zdinx -O0
rvp-simd-32.20614fc572.ll (mutant of rvp-simd-32.ll)test_pnclipup_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx,+zbs -O1
rvp-simd-32.29e3994e75.ll (mutant of rvp-simd-32.ll)test_psrl_s_i16x2_zero-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O2 -code-model=medium
rvp-simd-64.a482ccdce9.ll (mutant of rvp-simd-64.ll)test_pmerge_mvm_i16x4-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zbkb,+zdinx -O1
rvp-simd-64.c42c5bf7.f7928285ee.ll (mutant of rvp-simd-64.c42c5bf7.ll)test_pssa_x_h-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zbb,+zfinx,+zhinx -O2
rvp-widening-shift.d278b98762.ll (mutant of rvp-widening-shift.ll)pwsla_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbs -O3
rvp-widening-shift.d9ea9c091f.ll (mutant of rvp-widening-shift.ll)pwsla_v4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+zdinx -O2
rvp-widening-sub-acc.743a5659a4.ll (mutant of rvp-widening-sub-acc.ll)test_pwsubau_v4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
smulh.83b32c8af0.ll (mutant of smulh.ll)smulh_v4i16-mtriple=riscv64 -mattr=+m,+zfinx -O3 -verify-machineinstrs
smulh.83b32c8af0.ll (mutant of smulh.ll)smulh_v8i16-mtriple=riscv64 -mattr=+m,+zfinx -O3 -verify-machineinstrs
smulh.f8e3a8b0a6.ll (mutant of smulh.ll)smulh_v4i16-mtriple=riscv32 -mattr=+m,+zfinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.