fallback: translate: shl i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: shl i16 M |
| Occurrences: | 6 in 6 configs, 6 test files, 53 more counted only |
| Snippet from: | rotl-rotr.deffe7829a.ll (mutant of rotl-rotr.ll) @rotl_i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zcb,+zfinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i16 @rotl_i16(i16 %x, i16 %z) {
%B = shl i16 %z, %z
ret i16 %B
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zcb,+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zcb,+zfinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: shl: ' %B = shl i16 %z, %z' (in function: rotl_i16)
warning: Instruction selection used fallback path for rotl_i16
Occurrences (6):
| Input | Function | Config |
|---|
| alu16.54b8c17271.ll (mutant of alu16.ll) | slli | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 |
| half-select-icmp.080a92bbff.ll (mutant of half-select-icmp.ll) | select_icmp_slt_one | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 |
| rotl-rotr.deffe7829a.ll (mutant of rotl-rotr.ll) | rotl_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zcb,+zfinx -O1 |
| rvp-narrowing-clip.72a635f054.ll (mutant of rvp-narrowing-clip.ll) | pnclipru_v2i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zhinx -O3 |
| rvp-widening-shift.d278b98762.ll (mutant of rvp-widening-shift.ll) | pwsll_v4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbs -O3 |
| smulh.e7d57af8d0.ll (mutant of smulh.ll) | smulh_i16 | -mtriple=riscv32 -mattr=+m,+zcb,+zdinx -O0 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.