[llvm] [nfc] Update PatternMatch.h (PR #77240)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 7 06:38:21 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: None (natanelh-mobileye)
<details>
<summary>Changes</summary>
tiny spelling mistake fixup. please review the two lines of code below to see the correctness of this PR.
---
Full diff: https://github.com/llvm/llvm-project/pull/77240.diff
1 Files Affected:
- (modified) llvm/include/llvm/IR/PatternMatch.h (+1-1)
``````````diff
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>>
``````````
</details>
https://github.com/llvm/llvm-project/pull/77240
More information about the llvm-commits
mailing list