Skip to content

Commit eca282d

Browse files
[DAGCombiner] Add SelectCCLike matcher and unit test-6
1 parent 065aa5a commit eca282d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/CodeGen/SDPatternMatch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ struct DeferredValue_match {
130130

131131
explicit DeferredValue_match(SDValue &Match) : MatchVal(Match) {}
132132

133-
template <typename MatchContext> bool match(const MatchContext &, SDValue N) {
133+
template <typename MatchContext>
134+
bool match(const MatchContext &, SDValue N) {
134135
return N == MatchVal;
135136
}
136137
};

0 commit comments

Comments
 (0)