fallback: translate: shl i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: shl i8 M |
| Occurrences: | 5 in 5 configs, 5 test files, 44 more counted only |
| Snippet from: | float-convert.9d98a28bd4.ll (mutant of float-convert.ll) @fcvt_s_wu_i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zcb,+zhinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define float @fcvt_s_wu_i8(i8 zeroext %a) #0 {
%B = shl i8 %a, -1
%1 = uitofp i8 %a to float
store i8 %B, ptr poison, align 1
ret float %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zcb,+zhinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zcb,+zhinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: shl: ' %B = shl i8 %a, -1' (in function: fcvt_s_wu_i8)
warning: Instruction selection used fallback path for fcvt_s_wu_i8
Occurrences (5):
| Input | Function | Config |
|---|
| atomicrmw-xchg.2564ba1527.ll (mutant of atomicrmw-xchg.ll) | atomicrmw_xchg_i32_seq_cst | -mtriple=riscv64 -mattr=+a,+zfinx -O1 -verify-machineinstrs |
| calling-conv-sext-zext.6b7071253d.ll (mutant of calling-conv-sext-zext.ll) | sint8_arg_to_uint8_ret | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0 |
| float-convert.9d98a28bd4.ll (mutant of float-convert.ll) | fcvt_s_wu_i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zcb,+zhinx -O1 |
| inline-asm-zdinx-constraint-r.de2b8f0708.ll (mutant of inline-asm-zdinx-constraint-r.ll) | constraint_f_double | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx -O2 |
| memset.28cf6c39f6.ll (mutant of memset.ll) | memset_i32_var | -mtriple=riscv32 -mattr=+zhinx -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.