fallback: translate: ashr i1

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: ashr i1 M
Occurrences:6 in 6 configs, 6 test files, 15 more counted only
Snippet from:half-isnan.7f404cf695.ll (mutant of half-isnan.ll) @half_is_nan via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define zeroext i1 @half_is_nan(half %a) #0 {
  %B = ashr i1 false, false
  ret i1 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
fixed-vectors-setcc-int-vp-mask.fb3cf53ae8.ll (mutant of fixed-vectors-setcc-int-vp-mask.ll)icmp_eq_vv_v2i1-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
forced-atomics.5baa474db4.ll (mutant of forced-atomics.ll)rmw32_nand_seq_cst-mtriple=riscv32 -mattr=+zhinx -O0 -verify-machineinstrs
half-convert.0b56e3f2fb.ll (mutant of half-convert.ll)fcvt_wu_s_sat_i16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+c -O2
half-isnan.7f404cf695.ll (mutant of half-isnan.ll)half_is_nan-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O2
sext-zext-trunc.e7abe0213d.ll (mutant of sext-zext-trunc.ll)dec_of_zexted_cmp_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
umulh.739610c4c1.ll (mutant of umulh.ll)umulh_v3i32-mtriple=riscv32 -mattr=+zhinx -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.