[llvm] Add m_SelectCCLike matcher to match SELECT_CC or SELECT with SETCC (PR #149646)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 20 04:18:29 PDT 2025
================
@@ -93,7 +93,8 @@ struct Value_match {
explicit Value_match(SDValue Match) : MatchVal(Match) {}
- template <typename MatchContext> bool match(const MatchContext &, SDValue N) {
+ template <typename MatchContext>
+ bool match(const MatchContext &, SDValue N) const {
----------------
RKSimon wrote:
These const-ify changes should be a separate patch.
https://github.com/llvm/llvm-project/pull/149646
More information about the llvm-commits
mailing list