fallback: translate: lshr i16
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: lshr i16 M |
| Occurrences: | 3 in 3 configs, 3 test files, 11 more counted only |
| Snippet from: | float-mem.b2d3ab6e24.ll (mutant of float-mem.ll) @flw_fsw_constant via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32f -mattr=+zhinx -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define dso_local float @flw_fsw_constant(float %a) #0 {
%B = lshr i16 256, 256
%1 = inttoptr i32 -559038737 to ptr
%2 = load volatile float, ptr %1, align 4
%3 = fadd float %a, %2
store float %3, ptr %1, align 4
store i16 %B, ptr %1, align 2
ret float %3
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32f -mattr=+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32f -mattr=+zhinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %B = lshr i16 256, 256' (in function: flw_fsw_constant)
warning: Instruction selection used fallback path for flw_fsw_constant
Occurrences (3):
| Input | Function | Config |
|---|
| double-round-conv-sat.59d3fa46b5.ll (mutant of double-round-conv-sat.ll) | test_roundeven_si32 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O1 |
| float-convert-strict.777343b9b0.ll (mutant of float-convert-strict.ll) | fcvt_s_wu_i16 | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zfinx,+xtheadba -O3 -code-model=medium |
| float-mem.b2d3ab6e24.ll (mutant of float-mem.ll) | flw_fsw_constant | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32f -mattr=+zhinx -O0 |
Generated 2026-11-29 14:49 UTC.