fallback: legalize: G_INTTOPTR <N x p0>,<N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:legalize: G_INTTOPTR <N x p0>,<N x i64> M
Occurrences:3 in 3 configs, 2 test files, 4 more counted only
Snippet from:fixed-vectors-bitextract.0529d893aa.ll (mutant of fixed-vectors-bitextract.ll) @test_bitextract_v2ptr via llvm-extract
Config:-mtriple=riscv64 -mattr=+zfh -O0 -code-model=small -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x ptr> @test_bitextract_v2ptr(<2 x b64> %src) {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  %B = shl i1 false, true
  %result = bitextract <2 x ptr>, <2 x b64> %src, <2 x i32> zeroinitializer
  store i1 %B, ptr %A, align 1
  ret <2 x ptr> %result
}

Reproduce:

llc -mtriple=riscv64 -mattr=+zfh -O0 -code-model=small -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zfh -O0 -code-model=small -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %8:_(<2 x p0>) = G_INTTOPTR %12:_(<2 x i64>) (in function: test_bitextract_v2ptr)
warning: Instruction selection used fallback path for test_bitextract_v2ptr

Occurrences (3):

InputFunctionConfig
fixed-vectors-bitextract.0529d893aa.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v2ptr-mtriple=riscv64 -mattr=+zfh -O0 -code-model=small -verify-machineinstrs
fixed-vectors-bitextract.c849e5799d.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v2ptr-mtriple=riscv64 -O1 -verify-machineinstrs
fixed-vectors-inttoptr-ptrtoint.2a8fc0ea53.ll (mutant of fixed-vectors-inttoptr-ptrtoint.ll)inttoptr_v4p0_v4i64-mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.