fallback: legalize: G_INTTOPTR <N x p0>,<N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_INTTOPTR <N x p0>,<N x i64> M |
| Occurrences: | 4 in 4 configs, 2 test files, 8 more counted only |
| Snippet from: | fixed-vectors-inttoptr-ptrtoint.326b1b9045.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) @inttoptr_v4p0_v4i64 via llvm-extract |
| Config: | -mtriple=riscv64 -O0 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global float
define <4 x ptr> @inttoptr_v4p0_v4i64(<4 x i64> %va, <4 x i1> %m, i32 zeroext %evl) {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%LGV = load float, ptr @G.3, align 4
%C = fcmp ugt float 4.200000e+01, %LGV
%v = inttoptr <4 x i64> %va to <4 x ptr>
store i1 %C, ptr %A, align 1
ret <4 x ptr> %v
}
Reproduce:
llc -mtriple=riscv64 -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %14:_(<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.8ff2135982.ll (mutant of fixed-vectors-bitextract.ll) | test_bitextract_v2ptr | -mtriple=riscv64 -O3 -code-model=small -verify-machineinstrs |
| fixed-vectors-bitextract.a334d44e0e.ll (mutant of fixed-vectors-bitextract.ll) | test_bitextract_v2ptr | -mtriple=riscv64 -mattr=+zbb -O3 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.326b1b9045.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | inttoptr_v4p0_v4i64 | -mtriple=riscv64 -O0 -verify-machineinstrs |
| fixed-vectors-inttoptr-ptrtoint.546b52a77a.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll) | inttoptr_v4p0_v4i64 | -mtriple=riscv64 -mattr=+m -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.