fallback: translate: ashr i1

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: ashr i1 M
Occurrences:3 in 3 configs, 3 test files, 20 more counted only
Snippet from:fastcc-without-f-reg.3a6167780e.ll (mutant of fastcc-without-f-reg.ll) @h via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.3a6167780e.ll (mutant of fastcc-without-f-reg.ll)h-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
float-intrinsics.257dd067ec.ll (mutant of float-intrinsics.ll)lround_i32_f32-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx,+zbb -O3
half-round-conv.60d6957011.ll (mutant of half-round-conv.ll)test_ceil_ui16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -code-model=small

Generated 2026-11-29 14:49 UTC.