fallback: legalize: G_INTTOPTR <N x p0>,<N x i64>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_INTTOPTR <N x p0>,<N x i64> M |
| Occurrences: | 4 in 4 configs, 2 test files, 12 more counted only |
| Snippet from: | fixed-vectors-inttoptr-ptrtoint.3f648d80e3.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) @inttoptr_v4p0_v4i64 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i32
define <4 x ptr> @inttoptr_v4p0_v4i64(<4 x i64> %va, <4 x i1> %m, i32 zeroext %evl) {
%B = and i32 %evl, 0
%v = inttoptr <4 x i64> %va to <4 x ptr>
store i32 %B, ptr @G.4, align 4
ret <4 x ptr> %v
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<4 x p0>) = G_INTTOPTR %0:_(<4 x i64>) (in function: inttoptr_v4p0_v4i64)
warning: Instruction selection used fallback path for inttoptr_v4p0_v4i64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-bitextract.5f8b8041f5.ll (mutant of fixed-vectors-bitextract.ll) | test_bitextract_v2ptr | -mtriple=riscv64 -O1 -verify-machineinstrs |
| fixed-vectors-bitextract.9dffea004b.ll (mutant of fixed-vectors-bitextract.ll) | test_bitextract_v2ptr | -mtriple=riscv64 -mattr=+zvkb -O0 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.3f648d80e3.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | inttoptr_v4p0_v4i64 | -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.ab3caf2ba8.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | inttoptr_v4p0_v4i64 | -mtriple=riscv64 -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.