[llvm] [nfc] Update PatternMatch.h (PR #77240)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 7 06:37:42 PST 2024
https://github.com/natanelh-mobileye created https://github.com/llvm/llvm-project/pull/77240
tiny spelling mistake fixup. please review the two lines of code below to see the correctness of this PR.
>From 7bf0191eb8e81ffacd9bc15f453ddd1b15427931 Mon Sep 17 00:00:00 2001
From: natanelh-mobileye <155897558+natanelh-mobileye at users.noreply.github.com>
Date: Sun, 7 Jan 2024 16:32:16 +0200
Subject: [PATCH] Update PatternMatch.h
---
llvm/include/llvm/IR/PatternMatch.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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