fallback: legalize: G_STORE p1,p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_STORE p1,p0 M |
| Occurrences: | 5 in 5 configs, 1 test files, 49 more counted only |
| Snippet from: | addrspacecast.8fc4888554.ll (mutant of addrspacecast.ll) @cast0 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global ptr addrspace(1)
define void @cast0(ptr addrspace(1) %ptr) {
%ptr0 = addrspacecast ptr addrspace(1) %ptr to ptr
%L = load i8, ptr %ptr0, align 1
%G = getelementptr ptr addrspace(1), ptr addrspace(1) %ptr, i8 %L
store i32 0, ptr %ptr0, align 4
store ptr addrspace(1) %G, ptr @G.1, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: G_STORE %6:_(p1), %8:_(p0) :: (store (p1) into @G.1) (in function: cast0)
warning: Instruction selection used fallback path for cast0
Occurrences (5):
| Input | Function | Config |
|---|
| addrspacecast.8fc4888554.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O1 |
| addrspacecast.bfc5c76ace.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv32 -verify-machineinstrs -O0 |
| addrspacecast.d0991e1081.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv64 -verify-machineinstrs -O3 |
| addrspacecast.e42636999c.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv32 -verify-machineinstrs -mattr=+a -O1 |
| addrspacecast.f34f9fe973.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicsr -O1 |
Generated 2026-11-29 14:49 UTC.