fallback: translate: shl i1

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: shl i1 M
Occurrences:3 in 3 configs, 3 test files, 17 more counted only
Snippet from:pic-models.83076147be.ll (mutant of pic-models.ll) @f1 via llvm-extract
Config:-mtriple=riscv32 -relocation-model=pic -mattr=+zdinx,+zicond -O1 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@external_var = external global i32

; Function Attrs: nounwind
define ptr @f1() #0 {
entry:
  %B = shl i1 false, false
  store i1 %B, ptr poison, align 1
  ret ptr @external_var
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -relocation-model=pic -mattr=+zdinx,+zicond -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -relocation-model=pic -mattr=+zdinx,+zicond -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
calling-conv-lp64.54cad1b70b.ll (mutant of calling-conv-lp64.ll)callee_float_in_regs-mtriple=riscv64 -verify-machineinstrs -frame-pointer=all -mattr=+zdinx -O3
elf-preemption.9e51ae87f9.ll (mutant of elf-preemption.ll)get_weak_dsolocal_var-mtriple=riscv32 -relocation-model=static -mattr=+zhinx,+zicsr -O0 -verify-machineinstrs
pic-models.83076147be.ll (mutant of pic-models.ll)f1-mtriple=riscv32 -relocation-model=pic -mattr=+zdinx,+zicond -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.