fallback: translate: shl i1

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shl i1 M
Occurrences:4 in 4 configs, 4 test files, 13 more counted only
Snippet from:urem-seteq-illegal-types.324cefeeaf.ll (mutant of urem-seteq-illegal-types.ll) @test_urem_odd_setne via llvm-extract
Config:-mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i1 @test_urem_odd_setne(i4 %X) #0 {
  %B = shl i1 true, true
  ret i1 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
rv64xtheadbs.964cd39338.ll (mutant of rv64xtheadbs.ll)th_tst_i32_cmp-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zdinx -O1
rv64zimop-intrinsic.a509fb475d.ll (mutant of rv64zimop-intrinsic.ll)mopr31_32-mtriple=riscv64 -verify-machineinstrs -mattr=+zimop,+zhinx -O3
select-const.f9561b5985.ll (mutant of select-const.ll)select_const_int_pow2_zero-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zfinx -O2 -code-model=medium
urem-seteq-illegal-types.324cefeeaf.ll (mutant of urem-seteq-illegal-types.ll)test_urem_odd_setne-mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.