fallback: legalize: G_PTRTOINT <N x i64>,<N x p0>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_PTRTOINT <N x i64>,<N x p0> M |
| Occurrences: | 4 in 4 configs, 2 test files, 2 more counted only |
| Snippet from: | fixed-vectors-inttoptr-ptrtoint.d45b426730.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) @ptrtoint_v4i64_v4p0 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zvkb -O1 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
define <4 x i64> @ptrtoint_v4i64_v4p0(<4 x ptr> %va, <4 x i1> %m, i32 zeroext %evl) {
%B = xor i32 %evl, %evl
%v = ptrtoint <4 x ptr> %va to <4 x i64>
store i32 %B, ptr @G, align 4
ret <4 x i64> %v
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zvkb -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zvkb -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %9:_(<4 x i64>) = G_PTRTOINT %0:_(<4 x p0>) (in function: ptrtoint_v4i64_v4p0)
warning: Instruction selection used fallback path for ptrtoint_v4i64_v4p0
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-bitinsert.15fcafde9d.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr | -mtriple=riscv64 -mattr=+c -O2 -code-model=medium -verify-machineinstrs |
| fixed-vectors-bitinsert.318388d2bc.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr | -mtriple=riscv64 -mattr=+zfh -O3 -verify-machineinstrs |
| fixed-vectors-bitinsert.bf8ea20be7.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr | -mtriple=riscv64 -O1 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.d45b426730.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | ptrtoint_v4i64_v4p0 | -mtriple=riscv64 -mattr=+m,+zvkb -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.