fallback: translate: load <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: load <N x i32> M
Occurrences:82 in 77 configs, 67 test files, 1579 more counted only
Snippet from:cttz-elts-scalarize.26d01a4d2f.ll (mutant of cttz-elts-scalarize.ll) @v4i32_zero_is_poison via llvm-extract
Config:-mtriple=riscv32 -mattr=+zdinx -O1 -code-model=small -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32
@G.1 = external global <4 x i32>

define i32 @v4i32_zero_is_poison(<4 x i32> %x) {
  %LGV1 = load <4 x i32>, ptr @G.1, align 16
  %B2 = shl <4 x i32> %x, %LGV1
  %LGV = load i32, ptr @G, align 4
  %B = or i32 -2147483648, %LGV
  store <4 x i32> %B2, ptr @G.1, align 16
  ret i32 %B
}

Reproduce:

llc -mtriple=riscv32 -mattr=+zdinx -O1 -code-model=small -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zdinx -O1 -code-model=small -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: load: '  %LGV1 = load <4 x i32>, ptr @G.1, align 16' (in function: v4i32_zero_is_poison)
warning: Instruction selection used fallback path for v4i32_zero_is_poison

Occurrences (82) (first 15):

InputFunctionConfig
abds-neg.70040df0d3.ll (mutant of abds-neg.ll)abd_minmax_i64-mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs
abdu-neg.7a614211fe.ll (mutant of abdu-neg.ll)abd_minmax_i64-mtriple=riscv32 -mattr=+zbb,+zhinx -O1 -verify-machineinstrs
alu16.54b8c17271.ll (mutant of alu16.ll)sub-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1
atomic-load-store.886ecc3736.ll (mutant of atomic-load-store.ll)atomic_store_i32_release-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zfinx -O3
atomicrmw-and-or-xor.5b7045a279.ll (mutant of atomicrmw-and-or-xor.ll)atomicrmw_xor_i32_acquire-mtriple=riscv64 -mattr=+a,+zabha,+zhinx -O3 -verify-machineinstrs
bswap-bitreverse.a9af59f790.ll (mutant of bswap-bitreverse.ll)test_bitreverse_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O3
calling-conv-lp64e.29c622cf13.ll (mutant of calling-conv-lp64e.ll)caller_i128_split-mtriple=riscv64 -target-abi lp64e -verify-machineinstrs -frame-pointer=all -mattr=+zfinx -O2 -code-model=medium
calling-conv-p-ext-vector.d18302ee4f.ll (mutant of calling-conv-p-ext-vector.ll)test_cc_v2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+xtheadba -O3 -code-model=medium
clmul.7d0e15357d.ll (mutant of clmul.ll)clmul_constfold_i16-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+a,+zhinx -O3
ctlz-cttz-ctpop.76c6325716.ll (mutant of ctlz-cttz-ctpop.ll)test_cttz_i8_zero_poison-mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+zfinx,+zcb -O3
cttz-elts-scalarize.26d01a4d2f.ll (mutant of cttz-elts-scalarize.ll)v4i32_zero_is_poison-mtriple=riscv32 -mattr=+zdinx -O1 -code-model=small -verify-machineinstrs
ctz_zero_return_test.42f1361dff.ll (mutant of ctz_zero_return_test.ll)ctz4-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O0
ctz_zero_return_test.6fa0403b8b.ll (mutant of ctz_zero_return_test.ll)ctlz-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
double-arith.fad9ef740e.ll (mutant of double-arith.ll)fmax_d-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O2
double-br-fcmp.41c67e0ac1.ll (mutant of double-br-fcmp.ll)br_fcmp_one-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+a,+zihintpause -O1

Generated 2026-11-29 14:49 UTC.