fallback: translate: and i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: and i8 M
Occurrences:5 in 5 configs, 5 test files, 67 more counted only
Snippet from:imm.6ac2399c59.ll (mutant of imm.ll) @imm_7158272001 via llvm-extract
Config:-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbs,+zhinx,+zvbb -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i64 @imm_7158272001() {
  %B = and i8 16, -1
  store i8 %B, ptr poison, align 1
  ret i64 7158272001
}

Reproduce:

llc -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbs,+zhinx,+zvbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbs,+zhinx,+zvbb -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: and: '  %B = and i8 16, -1' (in function: imm_7158272001)
warning: Instruction selection used fallback path for imm_7158272001

Occurrences (5):

InputFunctionConfig
double-imm.241361ef12.ll (mutant of double-imm.ll)undef-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O1
half-arith-strict.8e7e10fb5b.ll (mutant of half-arith-strict.ll)fmul_h-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 -mattr=+zhinxmin -O1
imm.6ac2399c59.ll (mutant of imm.ll)imm_7158272001-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zbs,+zhinx,+zvbb -O2
rvp-scalar.893cb8156e.ll (mutant of rvp-scalar.ll)cls_i8_2-mtriple=riscv64 -mattr=+experimental-p,+zdinx -O1 -verify-machineinstrs
select.b2f943a438.ll (mutant of select.ll)select_xor_2b-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+a,+zfinx -O2 -code-model=medium

Generated 2026-11-29 14:49 UTC.