[PATCH] D40404: [APInt] Don't print debug messages from the APInt knuth division algorithm by default
David Majnemer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 23 21:56:26 PST 2017
majnemer added inline comments.
================
Comment at: lib/Support/APInt.cpp:1255-1259
+#ifdef KNUTH_DEBUG
+#define DEBUG_KNUTH(X) DEBUG(X)
+#else
+#define DEBUG_KNUTH(X) do {} while(false)
+#endif
----------------
*might* be nicer to use push_macro/pop_macro? Up to you in any case.
https://reviews.llvm.org/D40404
More information about the llvm-commits
mailing list