fallback: translate: and i1

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: and i1 M
Occurrences:3 in 3 configs, 3 test files, 18 more counted only
Snippet from:xqcicm.79041435ed.ll (mutant of xqcicm.ll) @select_cc_example_slt1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcicm,+xqcics,+xtheadba,+zfinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i32 @select_cc_example_slt1(i32 %a, i32 %b, i32 %x, i32 %y) {
entry:
  %B = and i1 false, false
  %sel = select i1 %B, i32 %x, i32 %y
  ret i32 %sel
}

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
select-and.fa81a4a420.ll (mutant of select-and.ll)if_of_and-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
xqcicm.79041435ed.ll (mutant of xqcicm.ll)select_cc_example_slt1-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcicm,+xqcics,+xtheadba,+zfinx -O1
zicond-fp-select-zfinx.4f476411dd.ll (mutant of zicond-fp-select-zfinx.ll)select_f32_i1-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2

Generated 2026-11-29 14:49 UTC.