fallback: translate: shl i32
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: shl i32 M |
| Occurrences: | 7 in 7 configs, 5 test files, 222 more counted only |
| Snippet from: | half-select-icmp.19d8a9f3f5.ll (mutant of half-select-icmp.ll) @select_icmp_sge via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define half @select_icmp_sge(i32 signext %a, i32 signext %b, half %c, half %d) {
%B = shl i32 %a, 0
%1 = icmp sge i32 %a, %B
%2 = select i1 %1, half %c, half %d
ret half %2
}
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: shl: ' %B = shl i32 %a, 0' (in function: select_icmp_sge)
warning: Instruction selection used fallback path for select_icmp_sge
Occurrences (7):
| Input | Function | Config |
|---|
| half-select-icmp.19d8a9f3f5.ll (mutant of half-select-icmp.ll) | select_icmp_sge | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O2 |
| lack-of-signed-truncation-check.004a4aa703.ll (mutant of lack-of-signed-truncation-check.ll) | shifts_necmp_i32_i16 | -mtriple=riscv64-unknown-linux-gnu -mattr=+zdinx -O0 -verify-machineinstrs |
| lack-of-signed-truncation-check.b201769217.ll (mutant of lack-of-signed-truncation-check.ll) | shifts_necmp_i32_i16 | -mtriple=riscv64-unknown-linux-gnu -mattr=+zdinx -O3 -verify-machineinstrs |
| rv64zbs.7b97cf9ded.ll (mutant of rv64zbs.ll) | bext_i32_trunc | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O0 |
| signed-truncation-check.541e0c2239.ll (mutant of signed-truncation-check.ll) | shifts_eqcmp_i32_i8 | -mtriple=riscv32-unknown-linux-gnu -mattr=+zdinx -O2 -verify-machineinstrs |
| xqcibm-insbi.0bd0f0ea23.ll (mutant of xqcibm-insbi.ll) | insb_comm1 | -mtriple=riscv32 --verify-machineinstrs -mattr=+xqcibm,+zdinx -O0 -verify-machineinstrs |
| xqcibm-insbi.e6f5624f55.ll (mutant of xqcibm-insbi.ll) | insb | -mtriple=riscv32 --verify-machineinstrs -mattr=+zfinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.