[llvm] 64d0143 - Fix "for for" duplicate typo in comment. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 03:44:05 PDT 2023
Author: Simon Pilgrim
Date: 2023-06-27T11:43:09+01:00
New Revision: 64d01432d2cef6293d7624a6e0df71f83d566de8
URL: https://github.com/llvm/llvm-project/commit/64d01432d2cef6293d7624a6e0df71f83d566de8
DIFF: https://github.com/llvm/llvm-project/commit/64d01432d2cef6293d7624a6e0df71f83d566de8.diff
LOG: Fix "for for" duplicate typo in comment. NFC.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index a9f8037c9c49a..3980314147d80 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5113,7 +5113,7 @@ bool SelectionDAG::isEqualTo(SDValue A, SDValue B) const {
// Check the obvious case.
if (A == B) return true;
- // For for negative and positive zero.
+ // For negative and positive zero.
if (const ConstantFPSDNode *CA = dyn_cast<ConstantFPSDNode>(A))
if (const ConstantFPSDNode *CB = dyn_cast<ConstantFPSDNode>(B))
if (CA->isZero() && CB->isZero()) return true;
More information about the llvm-commits
mailing list