fallback: translate: lshr i1

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: lshr i1 M
Occurrences:6 in 6 configs, 6 test files, 29 more counted only
Snippet from:fastcc-without-f-reg.0fe7967713.ll (mutant of fastcc-without-f-reg.ll) @h via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1

; Function Attrs: nounwind
define hidden fastcc half @h(half %x) #0 {
  %B = lshr i1 true, false
  store i1 %B, ptr @G.1, align 1
  ret half %x
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
condbinops.29b6cc29fa.ll (mutant of condbinops.ll)sub64-mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs
ctlz-cttz-ctpop.ceeeee8d46.ll (mutant of ctlz-cttz-ctpop.ll)test_ctlz_i16_zero_poison-mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+m,+zhinx -O1
double-bitmanip-dagcombines.ae7eb3e797.ll (mutant of double-bitmanip-dagcombines.ll)fneg-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx,+xtheadba,+zbs -O1
fastcc-without-f-reg.0fe7967713.ll (mutant of fastcc-without-f-reg.ll)h-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1
rv32xtheadbb.8f68686b09.ll (mutant of rv32xtheadbb.ll)cttz_i8-mtriple=riscv32 -mattr=+xtheadbb,+zcb,+zdinx -O1 -verify-machineinstrs
rvp-mul-parts-acc-fold.4531edc08f.ll (mutant of rvp-mul-parts-acc-fold.ll)macc_h01-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O0

Generated 2026-11-29 14:49 UTC.