fallback: legalize: G_UDIV <N x i8>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_UDIV <N x i8>
Occurrences:32 in 24 configs, 8 test files
Snippet from:rvp-simd-64.ll @test_pudiv_b 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 <8 x i8> @test_pudiv_b(<8 x i8> %a, <8 x i8> %b) {
  %res = udiv <8 x i8> %a, %b
  ret <8 x i8> %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:_(<8 x i8>) = G_UDIV %0:_, %1:_ (in function: test_pudiv_b)
warning: Instruction selection used fallback path for test_pudiv_b

Occurrences (32) (first 15):

InputFunctionConfig
rvp-simd-64.lltest_pudiv_b-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
fixed-vectors-int.lludiv_v16i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_v32i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_vx_v16i8-mtriple=riscv32 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_v16i8-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_v32i8-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-int.lludiv_vx_v16i8-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-strided-load-store-asm.llgather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+f,+zve32f,+optimized-zero-stride-load,+zvl256b
fixed-vectors-strided-load-store-asm.llgather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+f,+zve32f,+zvl256b
fixed-vectors-strided-load-store-asm.llgather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+v,+optimized-zero-stride-load,+zvl256b
fixed-vectors-strided-load-store-asm.llgather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+v,+zvl256b
fixed-vectors-strided-load-store-asm.0d85d9857d.ll (mutant of fixed-vectors-strided-load-store-asm.ll)gather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+v,+optimized-zero-stride-load,+zvl256b
fixed-vectors-strided-load-store-asm.892031036a.ll (mutant of fixed-vectors-strided-load-store-asm.ll)gather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+v,+zvl256b
fixed-vectors-strided-load-store-asm.d117ef0055.ll (mutant of fixed-vectors-strided-load-store-asm.ll)gather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+f,+zve32f,+zvl256b
fixed-vectors-strided-load-store-asm.dd2f507207.ll (mutant of fixed-vectors-strided-load-store-asm.ll)gather_zero_stride_unfold-mtriple=riscv64 -mattr=+m,+f,+zve32f,+optimized-zero-stride-load,+zvl256b

Generated 2026-11-29 14:49 UTC.