[llvm] [DAG] SDPatternMatch m_Zero/m_One/m_AllOnes have inconsistent undef h… (PR #147044)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 03:52:09 PDT 2025
================
@@ -1937,6 +1937,10 @@ LLVM_ABI bool isOneOrOneSplat(SDValue V, bool AllowUndefs = false);
/// Does not permit build vector implicit truncation.
LLVM_ABI bool isAllOnesOrAllOnesSplat(SDValue V, bool AllowUndefs = false);
+LLVM_ABI bool isOnesOrOnesSplat(SDValue N, bool AllowUndefs = false);
----------------
RKSimon wrote:
add doxygen comment
https://github.com/llvm/llvm-project/pull/147044
More information about the llvm-commits
mailing list