[llvm] [SelectionDAG] Add CTTZ_ELTS[_ZERO_POISON] nodes. NFCI (PR #185600)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 02:56:50 PDT 2026
================
@@ -1577,6 +1577,11 @@ enum NodeType {
/// Output: Output Chain
EXPERIMENTAL_VECTOR_HISTOGRAM,
+ /// The `llvm.experimental.cttz.elts` intrinsic. Has a single i1 vector
+ /// operand.
----------------
RKSimon wrote:
Instead of referring to the intrinsic, explicit describe the op - "Counts the number of trailing zero elements of a vector". Do we guarantee that the return type is large enough to cover all counts (i.e. i8 CTTZ_ELTS( v1024i1) is illegal?) - if so mention that.
https://github.com/llvm/llvm-project/pull/185600
More information about the llvm-commits
mailing list