fallback: legalize: G_SELECT <2 x s32>,s64

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_SELECT <2 x s32>,s64
Occurrences:1 in 1 configs, 1 test files
Snippet from:rvp-simd-64.ll @test_select_v2i32 via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x i32> @test_select_v2i32(i1 %cond, <2 x i32> %a, <2 x i32> %b) {
  %res = select i1 %cond, <2 x i32> %a, <2 x i32> %b
  ret <2 x i32> %res
}

Reproduce:

llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x s32>) = G_SELECT %5:_(s64), %1:_, %2:_ (in function: test_select_v2i32)
warning: Instruction selection used fallback path for test_select_v2i32

Occurrences (1):

InputFunctionConfig
rvp-simd-64.lltest_select_v2i32-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.