fallback: legalize: G_UDIV <N x i32>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_UDIV <N x i32>
Occurrences:17 in 10 configs, 8 test files
Snippet from:rvp-simd-64.ll @test_pudiv_w via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x i32> @test_pudiv_w(<2 x i32> %a, <2 x i32> %b) {
  %res = udiv <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 i32>) = G_UDIV %0:_, %1:_ (in function: test_pudiv_w)
warning: Instruction selection used fallback path for test_pudiv_w

Occurrences (17) (first 15):

InputFunctionConfig
rvp-simd-64.lltest_pudiv_w-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
fixed-vectors-int.lludiv_v4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_v8i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_vx_v4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_v4i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_v8i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_vx_v4i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
sink-splat-operands.llsink_splat_udiv-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
fastcc-int.249e9c170d.ll (mutant of fastcc-int.ll)caller-mtriple=riscv32 -verify-machineinstrs
fastcc-int.c2837fdadb.ll (mutant of fastcc-int.ll)caller-mtriple=riscv64 -verify-machineinstrs
float-zfa.cade3f1354.ll (mutant of float-zfa.ll)loadfpimm8-mtriple=riscv64 -target-abi lp64f -mattr=+zfa
float-zfa.faa28b56af.ll (mutant of float-zfa.ll)loadfpimm8-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa
local-stack-slot-allocation.1dd5da1f74.ll (mutant of local-stack-slot-allocation.ll)frame_pointer-mtriple=riscv64 -verify-machineinstrs
local-stack-slot-allocation.8444f036e6.ll (mutant of local-stack-slot-allocation.ll)frame_pointer-mtriple=riscv32 -verify-machineinstrs
pr63365.b42c41a051.ll (mutant of pr63365.ll)f-mtriple=riscv32

Generated 2026-11-29 14:49 UTC.