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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_INTTOPTR <N x p0>,<N x i32> M
Occurrences:3 in 3 configs, 1 test files, 4 more counted only
Snippet from:fixed-vectors-bitextract.189a61d0da.ll (mutant of fixed-vectors-bitextract.ll) @test_bitextract_v2ptr via llvm-extract
Config:-mtriple=riscv32 -O1 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define <2 x ptr> @test_bitextract_v2ptr(<2 x b64> %src) {
  %LGV = load i1, ptr @G, align 1
  %result = bitextract <2 x ptr>, <2 x b64> %src, <2 x i32> zeroinitializer
  %C = icmp uge i1 true, %LGV
  store i1 %C, ptr poison, align 1
  ret <2 x ptr> %result
}

Reproduce:

llc -mtriple=riscv32 -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
fixed-vectors-bitextract.189a61d0da.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v2ptr-mtriple=riscv32 -O1 -verify-machineinstrs
fixed-vectors-bitextract.19c6fb5d71.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v2ptr-mtriple=riscv32 -mattr=+m -O3 -verify-machineinstrs
fixed-vectors-bitextract.badaeeb123.ll (mutant of fixed-vectors-bitextract.ll)test_bitextract_v2ptr-mtriple=riscv32 -O1 -code-model=medium -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.