fallback: translate: sub i1

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: sub i1 M
Occurrences:4 in 4 configs, 4 test files, 21 more counted only
Snippet from:imm.0e63cec785.ll (mutant of imm.ll) @imm_12900925247761 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i1

define i64 @imm_12900925247761() {
  %B = sub i1 false, false
  store i1 %B, ptr @G.3, align 1
  ret i64 12900925247761
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sub: '  %B = sub i1 false, false' (in function: imm_12900925247761)
warning: Instruction selection used fallback path for imm_12900925247761

Occurrences (4):

InputFunctionConfig
blockaddress.f7d767ac37.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O1
fastcc-without-f-reg.06a6eedba6.ll (mutant of fastcc-without-f-reg.ll)caller_half_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
fixed-vectors-select-int.000f59888a.ll (mutant of fixed-vectors-select-int.ll)select_v8i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 -code-model=medium
imm.0e63cec785.ll (mutant of imm.ll)imm_12900925247761-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0

Generated 2026-11-29 14:49 UTC.