fallback: translate: load <N x i128>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: load <N x i128> M
Occurrences:4 in 4 configs, 3 test files, 1 more counted only
Snippet from:fixed-vectors-shuffle-exact-vlen.e27343c3c3.ll (mutant of fixed-vectors-shuffle-exact-vlen.ll) @shuffle_i128_ldst via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

; Function Attrs: vscale_range(2,2)
define void @shuffle_i128_ldst(ptr %p) #0 {
  %LGV1 = load <4 x i128>, ptr @G.1, align 64
  %a = load <4 x i128>, ptr %p, align 64
  %res = shufflevector <4 x i128> %a, <4 x i128> poison, <4 x i32> <i32 0, i32 0, i32 3, i32 2>
  %B = srem <4 x i128> %res, %LGV1
  store <4 x i128> %B, ptr %p, align 64
  ret void
}

attributes #0 = { vscale_range(2,2) }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
clmulh.1f41c6d118.ll (mutant of clmulh.ll)commutative_clmulh_v2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zvkb,+zhinx -O2
clmulh.8dccfb79bd.ll (mutant of clmulh.ll)commutative_clmulh_v2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+xtheadba,+zhinx -O2
fixed-vectors-shuffle-exact-vlen.e27343c3c3.ll (mutant of fixed-vectors-shuffle-exact-vlen.ll)shuffle_i128_ldst-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1
umulh.e9dbe36523.ll (mutant of umulh.ll)umulh_v2i128-mtriple=riscv32 -mattr=+m,+zihintpause,+zfinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.