Skip to content

Commit b306a9c

Browse files
[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.
1 parent 8f76f18 commit b306a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/IR/PatternMatch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ inline DisjointOr_match<LHS, RHS, true> m_c_DisjointOr(const LHS &L,
12701270
return DisjointOr_match<LHS, RHS, true>(L, R);
12711271
}
12721272

1273-
/// Match either "and" or "or disjoint".
1273+
/// Match either "add" or "or disjoint".
12741274
template <typename LHS, typename RHS>
12751275
inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::Add>,
12761276
DisjointOr_match<LHS, RHS>>

0 commit comments

Comments
 (0)