fallback: legalize: G_MUL <2 x s32>

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_MUL <2 x s32>
Occurrences:6 in 2 configs, 4 test files
Snippet from:rvp-simd-64.ll @test_pmul_w 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_pmul_w(<2 x i32> %a, <2 x i32> %b) {
  %res = mul <2 x i32> %a, %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: %2:_(<2 x s32>) = G_MUL %0:_, %1:_ (in function: test_pmul_w)
warning: Instruction selection used fallback path for test_pmul_w

Occurrences (6):

InputFunctionConfig
rvp-simd-32.lltest_pwmul_h-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-32.lltest_pwmulu_h-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-32.lltest_pwmulsu_h-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_pmul_w-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-bitreverse-zbkb.b929803a32.ll (mutant of rvp-bitreverse-zbkb.ll)test_bitreverse_v2i32-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb,+zbkb -verify-machineinstrs
rvp-reverse.a9eceb2943.ll (mutant of rvp-reverse.ll)test_prev_v2i32-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.