| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_ADDRSPACE_CAST p10,p0 |
| Occurrences: | 8 in 2 configs, 1 test files |
| Snippet from: | addrspacecast.ll @cast1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
define void @cast1(ptr %ptr) {
%castptr = addrspacecast ptr %ptr to ptr addrspace(10)
call void @foo(ptr addrspace(10) %castptr)
ret void
}
declare void @foo(ptr addrspace(10))
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 -
remark: <unknown>:0:0: unable to legalize instruction: %1:_(p10) = G_ADDRSPACE_CAST %0:_(p0) (in function: cast1) warning: Instruction selection used fallback path for cast1
| Input | Function | Config |
|---|---|---|
| addrspacecast.ll | cast1 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.ll | cast1 | -mtriple=riscv64 -verify-machineinstrs |
| addrspacecast.091749589d.ll (mutant of addrspacecast.ll) | cast1 | -mtriple=riscv64 -verify-machineinstrs |
| addrspacecast.2942a28267.ll (mutant of addrspacecast.ll) | cast1 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.35d54c16d3.ll (mutant of addrspacecast.ll) | cast1 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.51f3c4c186.ll (mutant of addrspacecast.ll) | cast1 | -mtriple=riscv64 -verify-machineinstrs |
| addrspacecast.75633f2ddf.ll (mutant of addrspacecast.ll) | cast1 | -mtriple=riscv32 -verify-machineinstrs |
| addrspacecast.d73ea1acba.ll (mutant of addrspacecast.ll) | cast1 | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.