[llvm] b306a9c - [PatternMatch] Fix typo in comment (NFC) (#77240)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 7 07:26:06 PST 2024
Author: natanelh-mobileye
Date: 2024-01-07T16:26:02+01:00
New Revision: b306a9c9986f254d0aff5eb892da9359e2588f54
URL: https://github.com/llvm/llvm-project/commit/b306a9c9986f254d0aff5eb892da9359e2588f54
DIFF: https://github.com/llvm/llvm-project/commit/b306a9c9986f254d0aff5eb892da9359e2588f54.diff
LOG: [PatternMatch] Fix typo in comment (NFC) (#77240)
Tiny spelling mistake fixup. please review the two lines of code below
to see the correctness of this PR.
Added:
Modified:
llvm/include/llvm/IR/PatternMatch.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/PatternMatch.h b/llvm/include/llvm/IR/PatternMatch.h
index 48afdb867ba6cc..447ac0f2aa6139 100644
--- a/llvm/include/llvm/IR/PatternMatch.h
+++ b/llvm/include/llvm/IR/PatternMatch.h
@@ -1270,7 +1270,7 @@ inline DisjointOr_match<LHS, RHS, true> m_c_DisjointOr(const LHS &L,
return DisjointOr_match<LHS, RHS, true>(L, R);
}
-/// Match either "and" or "or disjoint".
+/// Match either "add" or "or disjoint".
template <typename LHS, typename RHS>
inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::Add>,
DisjointOr_match<LHS, RHS>>
More information about the llvm-commits
mailing list