fallback: translate: add i128

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: add i128 M
Occurrences:4 in 4 configs, 3 test files, 16 more counted only
Snippet from:push-pop-popret.bb10384e87.ll (mutant of push-pop-popret.ll) @foo_no_irq via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zbs -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128

declare i32 @foo_test_irq(...)

define void @foo_no_irq() {
  %B = add i128 42, 1
  %call = call i32 @foo_test_irq()
  store i128 %B, ptr @G, align 4
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: add: '  %B = add i128 42, 1' (in function: foo_no_irq)
warning: Instruction selection used fallback path for foo_no_irq

Occurrences (4):

InputFunctionConfig
add-before-shl.99b82c8454.ll (mutant of add-before-shl.ll)add_wide_operand-mtriple=riscv64 -verify-machineinstrs -M no-aliases -mattr=+c,+a,+zdinx -O3
add-before-shl.f63275a72f.ll (mutant of add-before-shl.ll)add_wide_operand-mtriple=riscv32 -verify-machineinstrs -M no-aliases -mattr=+zca,+zbb,+zhinx -O1
float-intrinsics-strict.394bd86d32.ll (mutant of float-intrinsics-strict.ll)asin_f32-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zfinx -O2
push-pop-popret.bb10384e87.ll (mutant of push-pop-popret.ll)foo_no_irq-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zbs -O0

Generated 2026-11-29 14:49 UTC.