fallback: legalize: G_CTLZ_ZERO_POISON

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:legalize: G_CTLZ_ZERO_POISON
Occurrences:56 in 29 configs, 16 test files
Snippet from:idiv_large.ll @udiv_i65 via llvm-extract
Config:-mtriple=riscv32
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i65 @udiv_i65(i65 %x, i65 %y) #0 {
  %res = udiv i65 %x, %y
  ret i65 %res
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %1104:_(i32) = G_CTLZ_ZERO_POISON %6:_(i65) (in function: udiv_i65)
warning: Instruction selection used fallback path for udiv_i65

Occurrences (56) (first 15):

InputFunctionConfig
fp128.llsitofp_i128-mtriple=riscv32
fp128.lluitofp_i128-mtriple=riscv32
fp128.llsitofp_i128-mtriple=riscv32 -mattr=+d
fp128.lluitofp_i128-mtriple=riscv32 -mattr=+d
bitint-fp-conv-200.lltest_bitint_200_to_float-mtriple=riscv32 -verify-machineinstrs
bitint-fp-conv-200.lltest_bitint_200_to_float-mtriple=riscv64 -verify-machineinstrs
idiv_large.lludiv_i65-mtriple=riscv32
idiv_large.lludiv_i128-mtriple=riscv32
idiv_large.lludiv_i129-mtriple=riscv32
idiv_large.lludiv_i129-mtriple=riscv64
add-before-shl.0c7cd91e29.ll (mutant of add-before-shl.ll)add_wide_operand-mtriple=riscv32 -verify-machineinstrs -M no-aliases
add-before-shl.5b93550397.ll (mutant of add-before-shl.ll)add_wide_operand-mtriple=riscv32 -mattr=+c -verify-machineinstrs -M no-aliases
add-before-shl.7f6b14745f.ll (mutant of add-before-shl.ll)add_wide_operand-mtriple=riscv32 -mattr=+zca -verify-machineinstrs -M no-aliases
bfloat-imm.b7a5877d3e.ll (mutant of bfloat-imm.ll)poison-mtriple=riscv32 -mattr=+zfbfmin -verify-machineinstrs -target-abi ilp32f
bitint-fp-conv-200.11df053705.ll (mutant of bitint-fp-conv-200.ll)test_bitint_200_to_float-mtriple=riscv64 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.