fallback: translate: and i1

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: and i1 M
Occurrences:4 in 4 configs, 4 test files, 44 more counted only
Snippet from:zicond-fp-select-zfinx.2c5fa2dbb2.ll (mutant of zicond-fp-select-zfinx.ll) @select_i1_half_0 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define dso_local noundef half @select_i1_half_0(i1 %cond, half %val) #0 {
entry:
  %B = and i1 false, %cond
  %sel = select i1 %B, half %val, half 0.000000e+00
  ret half %sel
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
double-br-fcmp.41c67e0ac1.ll (mutant of double-br-fcmp.ll)br_fcmp_ord-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx,+a,+zihintpause -O1
double-intrinsics-strict.60b080b252.ll (mutant of double-intrinsics-strict.ll)log2_f64-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx,+zve32x,+m -O3
musttail-indirect-args.aaebea9c46.ll (mutant of musttail-indirect-args.ll)caller_musttail_cross_bb-mtriple=riscv32 -mattr=+zdinx -O0 -verify-machineinstrs
zicond-fp-select-zfinx.2c5fa2dbb2.ll (mutant of zicond-fp-select-zfinx.ll)select_i1_half_0-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3

Generated 2026-11-29 14:49 UTC.