[llvm] [SDPatternMatch] Add m_CondCode, m_NoneOf, and some SExt improvements (PR #90762)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 17:22:48 PDT 2024
================
@@ -758,6 +778,40 @@ inline auto m_False() {
m_Value()};
}
+struct CondCode_match {
+ std::optional<ISD::CondCode> CCToMatch;
+ ISD::CondCode *BindCC;
+
+ explicit CondCode_match(ISD::CondCode CC) : CCToMatch(CC), BindCC(nullptr) {}
----------------
mshockwave wrote:
Done.
https://github.com/llvm/llvm-project/pull/90762
More information about the llvm-commits
mailing list