fallback: legalize: G_PTRTOINT <N x i64>,<N x p0>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_PTRTOINT <N x i64>,<N x p0> M |
| Occurrences: | 5 in 4 configs, 2 test files, 2 more counted only |
| Snippet from: | fixed-vectors-inttoptr-ptrtoint.2a5f8be925.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) @ptrtoint_v4i64_v4p0 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+xtheadba -O0 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i8
define <4 x i64> @ptrtoint_v4i64_v4p0(<4 x ptr> %va, <4 x i1> %m, i32 zeroext %evl) {
%LGV = load i8, ptr @G, align 1
%C = icmp ugt i8 42, %LGV
%v = ptrtoint <4 x ptr> %va to <4 x i64>
store i1 %C, ptr poison, align 1
ret <4 x i64> %v
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+xtheadba -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+xtheadba -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %12:_(<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 (5):
| Input | Function | Config |
|---|
| fixed-vectors-bitinsert.4078739c7f.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr | -mtriple=riscv64 -O2 -code-model=medium -verify-machineinstrs |
| fixed-vectors-bitinsert.c7fc7de30a.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr | -mtriple=riscv64 -mattr=+zvfh -O1 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.2a5f8be925.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | ptrtoint_v4i64_v4p0 | -mtriple=riscv64 -mattr=+m,+xtheadba -O0 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.326b1b9045.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | ptrtoint_v4i64_v4p0 | -mtriple=riscv64 -O0 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.5267d6d315.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | ptrtoint_v4i64_v4p0 | -mtriple=riscv64 -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.