fallback: translate: load i256~
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: load i256~ M |
| Occurrences: | 5 in 4 configs, 3 test files, 42 more counted only |
| Snippet from: | wide-scalar-shift-by-byte-multiple-legalization.19a8a31dac.ll (mutant of wide-scalar-shift-by-byte-multiple-legalization.ll) @lshr_32bytes_dwordOff via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define void @lshr_32bytes_dwordOff(ptr %src.ptr, ptr %dwordOff.ptr, ptr %dst) #0 {
%src = load i256, ptr %src.ptr, align 1
%dwordOff = load i256, ptr %dwordOff.ptr, align 1
%bitOff = shl i256 %dwordOff, 6
%B = shl i256 %dwordOff, %src
%res = lshr i256 %B, %bitOff
store i256 %res, ptr %dst, align 1
ret void
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: load: ' %src = load i256, ptr %src.ptr, align 1' (in function: lshr_32bytes_dwordOff)
warning: Instruction selection used fallback path for lshr_32bytes_dwordOff
Occurrences (5):
Generated 2026-11-29 14:49 UTC.