fallback: translate: load i128

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: load i128 M
Occurrences:104 in 97 configs, 74 test files, 2060 more counted only
Snippet from:frame-info.ad6f8a6b25.ll (mutant of frame-info.ll) @stack_alloc via llvm-extract
Config:-mtriple=riscv32 -mattr=+zba,+zfinx -O2 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i128
@G.2 = external global i128

define void @stack_alloc(i32 signext %size) {
entry:
  %LGV = load i128, ptr @G.1, align 4
  %B = ashr i128 %LGV, 0
  %0 = alloca i8, i32 %size, align 16
  call void @callee_with_args(ptr nonnull %0)
  store i128 %B, ptr @G.2, align 4
  ret void
}

declare void @callee_with_args(ptr)

Reproduce:

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

Local llc output:

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

Occurrences (104) (first 15):

InputFunctionConfig
abds-neg.0064b04e74.ll (mutant of abds-neg.ll)abd_ext_i16_i32-mtriple=riscv32 -mattr=+zbb,+zfinx -O3 -verify-machineinstrs
abds-neg.31e880b2c1.ll (mutant of abds-neg.ll)abd_subnsw_i8-mtriple=riscv32 -mattr=+zbb,+zhinx -O3 -verify-machineinstrs
abds.6ff2922efc.ll (mutant of abds.ll)abd_ext_i64_undef-mtriple=riscv32 -mattr=+zbb,+zdinx -O3 -verify-machineinstrs
abds.78806493b8.ll (mutant of abds.ll)abd_cmp_i128-mtriple=riscv64 -mattr=+zdinx -O2 -code-model=small -verify-machineinstrs
abdu-neg.c15af75af0.ll (mutant of abdu-neg.ll)abd_ext_i16_undef-mtriple=riscv64 -mattr=+zfinx -O3 -verify-machineinstrs
atomic-cmpxchg.ab2066b837.ll (mutant of atomic-cmpxchg.ll)cmpxchg_i16_acq_rel_acquire-mtriple=riscv32 -verify-machineinstrs -mattr=+-a,+zaamo,+zalrsc,+zdinx,+xtheadba -O3
atomic-load-zext.fb1a0adb52.ll (mutant of atomic-load-zext.ll)atomic_load_i64_unordered-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zhinx -O3 -code-model=small
atomic-signext.b5e1a8042e.ll (mutant of atomic-signext.ll)atomicrmw_add_i32_monotonic-mtriple=riscv32 -verify-machineinstrs -mattr=+-a,+zaamo,+zalrsc,+zdinx -O3
attributes.1e03ac40c9.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs
calling-conv-lp64e.30f3112544.ll (mutant of calling-conv-lp64e.ll)caller_float_in_regs-mtriple=riscv64 -target-abi lp64e -verify-machineinstrs -mattr=+zdinx,+zbb -O2
clmul.62e4229337.ll (mutant of clmul.ll)clmul_i128_zext-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1
clmul.79c1252724.ll (mutant of clmul.ll)clmul_i128-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zfinx -O0
clmul.8c0ae2070a.ll (mutant of clmul.ll)commutative_clmul_v2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
clmulr.5ca9ade9cd.ll (mutant of clmulr.ll)clmulr_i16-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O2 -code-model=medium
condbinops.cfd36b5884.ll (mutant of condbinops.ll)shl32-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.