fallback: translate: sub i64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sub i64 M
Occurrences:10 in 9 configs, 9 test files, 79 more counted only
Snippet from:alu-roundtrip.44c426980e.ll (mutant of alu-roundtrip.ll) @subi_i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zfinx -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i64 @subi_i64(i64 %a) {
entry:
  %0 = sub i64 1234444, %a
  ret i64 %0
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zfinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sub: '  %0 = sub i64 1234444, %a' (in function: subi_i64)
warning: Instruction selection used fallback path for subi_i64

Occurrences (10):

InputFunctionConfig
abds.f8bf26a903.ll (mutant of abds.ll)abd_cmp_i64-mtriple=riscv32 -mattr=+zbb,+zdinx -O2 -verify-machineinstrs
alu-roundtrip.44c426980e.ll (mutant of alu-roundtrip.ll)subi_i64-mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zfinx -O0
alu-roundtrip.44c426980e.ll (mutant of alu-roundtrip.ll)neg_i64-mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zfinx -O0
atomic-rmw-sub.8b1778ed97.ll (mutant of atomic-rmw-sub.ll)atomicrmw_sub_i64_neg-mtriple=riscv32 -verify-machineinstrs -mattr=+zalrsc,+zbkb,+zdinx -O0
bswap-shift.f6be861e88.ll (mutant of bswap-shift.ll)test_bswap_shli_48_bswap_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O0
iabs.7d2dc3b106.ll (mutant of iabs.ll)select_abs64-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0
neg-abs.35992dee95.ll (mutant of neg-abs.ll)expanded_neg_abs64_unsigned-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O0
rvp-scalar-rv64.49083fe9f3.ll (mutant of rvp-scalar-rv64.ll)mvmn_i64_2-mtriple=riscv64 -mattr=+m,+zhinx -O0 -verify-machineinstrs
rvp-simd-32.c51ef3b12f.ll (mutant of rvp-simd-32.ll)test_pslli_b-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O3
scmp.71e57dce85.ll (mutant of scmp.ll)scmp.8.64-mtriple=riscv64 -mattr=+zhinx,+m -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.