fallback: legalize: G_ADDRSPACE_CAST p0,p1
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | legalize: G_ADDRSPACE_CAST p0,p1 |
| Occurrences: | 6 in 2 configs, 1 test files |
| Snippet from: | addrspacecast.ll @cast0 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @cast0(ptr addrspace(1) %ptr) {
%ptr0 = addrspacecast ptr addrspace(1) %ptr to ptr
store i32 0, ptr %ptr0, align 4
ret void
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %1:_(p0) = G_ADDRSPACE_CAST %0:_(p1) (in function: cast0)
warning: Instruction selection used fallback path for cast0
Occurrences (6):
| Input | Function | Config |
|---|
| addrspacecast.ll | cast0 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.ll | cast0 | -mtriple=riscv64 -verify-machineinstrs |
| addrspacecast.35d54c16d3.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.51f3c4c186.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv64 -verify-machineinstrs |
| addrspacecast.75633f2ddf.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.d73ea1acba.ll (mutant of addrspacecast.ll) | cast0 | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.