fallback: translate: load <N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: load <N x i16> M
Occurrences:14 in 12 configs, 10 test files, 64 more counted only
Snippet from:urem-vector-lkk.5a68e5e4a5.ll (mutant of urem-vector-lkk.ll) @dont_fold_urem_i16_smax via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zdinx -O3
Local check:reproduces at db12fc36f6
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_i16_smax(<4 x i16> %x) #0 {
  %LGV = load <4 x i16>, ptr @G, align 8
  %B = or <4 x i16> %x, %LGV
  ret <4 x i16> %B
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zdinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zdinx -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_i16_smax)
warning: Instruction selection used fallback path for dont_fold_urem_i16_smax

Occurrences (14):

InputFunctionConfig
fixed-vectors-select-addsub.cf68b2a2b9.ll (mutant of fixed-vectors-select-addsub.ll)select_addsub_v8i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1
fixed-vectors-vaaddu.51a8929f27.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_floor_splat_scalar-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
fixed-vectors-vdiv-vp.1010427e5d.ll (mutant of fixed-vectors-vdiv-vp.ll)vdiv_vv_v8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2
fixed-vectors-vmul-vp.8838d0bd1c.ll (mutant of fixed-vectors-vmul-vp.ll)vmul_vv_v12i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
rvp-narrowing-shift.b8c1d2eb76.ll (mutant of rvp-narrowing-shift.ll)pnsrl_v4i8_32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx,+zvbb -O2 -code-model=medium
rvp-simd-32.0db626d5.0771fdee63.ll (mutant of rvp-simd-32.0db626d5.ll)test_pm2sub_x_v2i16_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zbb,+zdinx,+zihintpause,+c -O0 -code-model=small
rvp-simd-64.01fa9e0296.ll (mutant of rvp-simd-64.ll)test_pssubu_h-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O0
rvp-widening-shift.badda5f996.ll (mutant of rvp-widening-shift.ll)pwslai_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbs -O2 -code-model=small
srem-vector-lkk.ca14318922.ll (mutant of srem-vector-lkk.ll)dont_fold_srem_one-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2
urem-vector-lkk.1212761996.ll (mutant of urem-vector-lkk.ll)dont_fold_urem_one-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0 -code-model=medium
urem-vector-lkk.3637877060.ll (mutant of urem-vector-lkk.ll)fold_urem_vec_2-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 -code-model=small
urem-vector-lkk.3637877060.ll (mutant of urem-vector-lkk.ll)combine_urem_udiv-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 -code-model=small
urem-vector-lkk.5a68e5e4a5.ll (mutant of urem-vector-lkk.ll)dont_fold_urem_i16_smax-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zdinx -O3
urem-vector-lkk.e90b673dfb.ll (mutant of urem-vector-lkk.ll)dont_fold_urem_power_of_two-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O2 -code-model=medium

Generated 2026-11-29 14:49 UTC.