Skip to content

Commit 4bbe156

Browse files
author
git apple-llvm automerger
committed
Merge commit '6b446310bef9' from llvm.org/main into apple/main
2 parents 24c30f8 + 6b44631 commit 4bbe156

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/utils/TableGen/CodeGenDAGPatterns.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,8 @@ class Predicate {
10781078
}
10791079

10801080
bool operator==(const Predicate &P) const {
1081-
return IfCond == P.IfCond && IsHwMode == P.IsHwMode && Def == P.Def;
1081+
return IfCond == P.IfCond && IsHwMode == P.IsHwMode && Def == P.Def &&
1082+
Features == P.Features;
10821083
}
10831084
bool operator<(const Predicate &P) const {
10841085
if (IsHwMode != P.IsHwMode)

0 commit comments

Comments
 (0)