fallback: translate: shl i64

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: shl i64 M
Occurrences:14 in 14 configs, 11 test files, 148 more counted only
Snippet from:condbinops.cfd36b5884.ll (mutant of condbinops.ll) @shl64 via llvm-extract
Config:-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1

define i64 @shl64(i64 %x, i64 %y, i1 %c) {
  %binop = shl i64 %x, %y
  %select_ = select i1 %c, i64 %binop, i64 %x
  %C = icmp ult i64 %x, %x
  store i1 %C, ptr @G.1, align 1
  ret i64 %select_
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %binop = shl i64 %x, %y' (in function: shl64)
warning: Instruction selection used fallback path for shl64

Occurrences (14):

InputFunctionConfig
bswap-bitreverse.fc535f58d2.ll (mutant of bswap-bitreverse.ll)test_bitreverse_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+experimental-p,+zfinx,+zcb -O1
condbinops.cfd36b5884.ll (mutant of condbinops.ll)shl64-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
double-arith.fad9ef740e.ll (mutant of double-arith.ll)fmsub_d_contract-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O2
lack-of-signed-truncation-check.90cb8e73de.ll (mutant of lack-of-signed-truncation-check.ll)shifts_necmp_i64_i8-mtriple=riscv64-unknown-linux-gnu -mattr=+zhinx,+c -O1 -verify-machineinstrs
lack-of-signed-truncation-check.b201769217.ll (mutant of lack-of-signed-truncation-check.ll)shifts_necmp_i64_i8-mtriple=riscv64-unknown-linux-gnu -mattr=+zdinx -O3 -verify-machineinstrs
rv32xtheadbb.03c8e94876.ll (mutant of rv32xtheadbb.ll)sextb_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+zdinx,+zfinx -O1
rv32xtheadbb.6a62b523a8.ll (mutant of rv32xtheadbb.ll)sexth_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+a -O2
rv32xtheadbb.cc63fbe7c2.ll (mutant of rv32xtheadbb.ll)sextb_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 -code-model=small
rv32zbb.cb8b42065f.ll (mutant of rv32zbb.ll)sextb_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O3
sadd_sat_plus.ba0327e19e.ll (mutant of sadd_sat_plus.ll)func64-mtriple=riscv64 -mattr=+m,+zbb,+zdinx,+zvbb -O0 -verify-machineinstrs
sifive_sf_vsettnt.1b63448540.ll (mutant of sifive_sf_vsettnt.ll)test_sf_vsettnt_e8w1-mtriple=riscv64 -verify-machineinstrs -mattr=+xsfmmbase,+zbb,+zhinx -O0
split-urem-by-constant.b477c9b0fa.ll (mutant of split-urem-by-constant.ll)test_urem_37_shl_XL-mtriple=riscv32 -mattr=+zfinx -O1 -verify-machineinstrs
switch-width.0854ee5271.ll (mutant of switch-width.ll)trunc_i32-mtriple=riscv64 -mattr=+zdinx -O2 -verify-machineinstrs
xqcibm-insbi.0bd0f0ea23.ll (mutant of xqcibm-insbi.ll)insb_i64-mtriple=riscv32 --verify-machineinstrs -mattr=+xqcibm,+zdinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.