[llvm] [DAG] Fix incorrect doxygen comment for isZeroOrZeroSplat (NFC) (PR #163527)

Hari Limaye via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 02:01:43 PDT 2025


https://github.com/hazzlim created https://github.com/llvm/llvm-project/pull/163527

None

>From 5a9789f091c48bfaf216f957760918a3e1543ad1 Mon Sep 17 00:00:00 2001
From: Hari Limaye <hari.limaye at arm.com>
Date: Thu, 9 Oct 2025 19:04:17 +0000
Subject: [PATCH] [DAG] Fix incorrect doxygen comment for isZeroOrZeroSplat
 (NFC)

---
 llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index 116911699ab9f..69713d0d84011 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -1950,7 +1950,7 @@ LLVM_ABI bool isOnesOrOnesSplat(SDValue N, bool AllowUndefs = false);
 
 /// Return true if the value is a constant 0 integer or a splatted vector of a
 /// constant 0 integer (with no undefs).
-/// Does not permit build vector implicit truncation.
+/// Build vector implicit truncation is allowed.
 LLVM_ABI bool isZeroOrZeroSplat(SDValue N, bool AllowUndefs = false);
 
 /// Return true if \p V is either a integer or FP constant.



More information about the llvm-commits mailing list