[llvm] [PatternMatching] Add generic API for matching constants using custom conditions (PR #85676)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 29 10:35:34 PDT 2024
================
@@ -452,30 +470,93 @@ template <typename Predicate> struct apf_pred_ty : public Predicate {
//
///////////////////////////////////////////////////////////////////////////////
+template <typename APTy> struct custom_checkfn {
----------------
dtcxzyw wrote:
It would be better to add some unit tests for new helpers.
https://github.com/llvm/llvm-project/pull/85676
More information about the llvm-commits
mailing list