fallback: translate: load ptr
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: load ptr M |
| Occurrences: | 3 in 2 configs, 1 test files, 4 more counted only |
| Snippet from: | split-offsets.f7585d5d2e.ll (mutant of split-offsets.ll) @test1 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @test1(ptr %sp, ptr %t, i32 %n) {
entry:
%s = load ptr, ptr %sp, align 8
%G = getelementptr <4 x i32>, ptr %t, i32 %n
%gep0 = getelementptr [65536 x i32], ptr %s, i64 0, i32 20000
%gep1 = getelementptr [65536 x i32], ptr %s, i64 0, i32 20001
%gep2 = getelementptr [65536 x i32], ptr %t, i64 0, i32 20000
%gep3 = getelementptr [65536 x i32], ptr %t, i64 0, i32 20001
store i32 2, ptr %gep0, align 4
store i32 1, ptr %gep1, align 4
store i32 1, ptr %gep2, align 4
store i32 2, ptr %gep3, align 4
store ptr %G, ptr %gep3, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: load: ' %s = load ptr, ptr %sp, align 8' (in function: test1)
warning: Instruction selection used fallback path for test1
Occurrences (3):
| Input | Function | Config |
|---|
| split-offsets.2169c308b3.ll (mutant of split-offsets.ll) | test1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zbs -O0 |
| split-offsets.f7585d5d2e.ll (mutant of split-offsets.ll) | test1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -code-model=small |
| split-offsets.f7585d5d2e.ll (mutant of split-offsets.ll) | test2 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -code-model=small |
Generated 2026-11-29 14:49 UTC.