[llvm] [SelectionDAG] Add support to filter SelectionDAG dumps during ISel by function names (PR #72696)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 13:29:49 PST 2023


================
@@ -180,6 +182,15 @@ static const bool ViewDAGCombine1 = false, ViewLegalizeTypesDAGs = false,
                   ViewSchedDAGs = false, ViewSUnitDAGs = false;
 #endif
 
+#define ISEL_DUMP(X)                                                           \
+  do {                                                                         \
----------------
mshockwave wrote:

Oops, I thought I passed `X` into `LLVM_DEBUG` (which will not evaluate X in NDEBUG). It's fixed now.

https://github.com/llvm/llvm-project/pull/72696


More information about the llvm-commits mailing list