[all-commits] [llvm/llvm-project] fa7a60: [CodeGen] Add widening support for ISD::CTTZ_ELTS ...
Chandana Mudda via All-commits
all-commits at lists.llvm.org
Tue Jun 30 02:40:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fa7a6025df042fab2bb69947b773c23eaa8dd62b
https://github.com/llvm/llvm-project/commit/fa7a6025df042fab2bb69947b773c23eaa8dd62b
Author: Chandana Mudda <quic_csinderi at quicinc.com>
Date: 2026-06-30 (Tue, 30 Jun 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll
A llvm/test/CodeGen/Hexagon/cttz-elts-widen.ll
M llvm/test/CodeGen/RISCV/rvv/cttz-elts.ll
Log Message:
-----------
[CodeGen] Add widening support for ISD::CTTZ_ELTS (#205841)
WidenVectorOperand had no handler forCTTZ_ELTS/
CTTZ_ELTS_ZERO_POISON, causing a fatal error when the input vector type
needed widening.
Add WidenVecOp_CttzElements which widens the input vector and pads the
extra lanes with all-ones, ensuring they do not contribute spurious
trailing zeros to the count. This follows the same pattern as the
existing
WidenVecOp_VP_CttzElements.
Assisted-by: Claude (Anthropic)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list