fallback: translate: load i256~
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: load i256~ M |
| Occurrences: | 4 in 3 configs, 3 test files, 64 more counted only |
| Snippet from: | wide-scalar-shift-by-byte-multiple-legalization.20d9eafadd.ll (mutant of wide-scalar-shift-by-byte-multiple-legalization.ll) @lshr_32bytes via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zcb -O2 -code-model=small |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define void @lshr_32bytes(ptr %src.ptr, ptr %byteOff.ptr, ptr %dst) #0 {
%src = load i256, ptr %src.ptr, align 1
%byteOff = load i256, ptr %byteOff.ptr, align 1
%bitOff = shl i256 %byteOff, 3
%res = lshr i256 %src, %bitOff
store i256 %res, ptr %dst, align 1
%B = frem double 0.000000e+00, 0.000000e+00
store double %B, ptr poison, align 8
ret void
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zcb -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zcb -O2 -code-model=small -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)
warning: Instruction selection used fallback path for lshr_32bytes
Occurrences (4):
| Input | Function | Config |
|---|
| abdu.15e3e5ae5b.ll (mutant of abdu.ll) | abd_ext_i128 | -mtriple=riscv32 -mattr=+zdinx -O3 -code-model=small -verify-machineinstrs |
| idiv_large.f12c8d36.f261cf11.a58589e3.cda5ce9a4f.ll (mutant of idiv_large.f12c8d36.f261cf11.a58589e3.ll) | udiv_i129 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0 |
| wide-scalar-shift-by-byte-multiple-legalization.20d9eafadd.ll (mutant of wide-scalar-shift-by-byte-multiple-legalization.ll) | lshr_32bytes | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zcb -O2 -code-model=small |
| wide-scalar-shift-by-byte-multiple-legalization.20d9eafadd.ll (mutant of wide-scalar-shift-by-byte-multiple-legalization.ll) | ashr_32bytes | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zcb -O2 -code-model=small |
Generated 2026-11-29 14:49 UTC.