[PATCH] D40404: [APInt] Don't print debug messages from the APInt knuth division algorithm by default

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 23 15:00:17 PST 2017


craig.topper created this revision.
Herald added a subscriber: JDevlieghere.

Debug builds currently print out low level details of the Knuth division algorithm when -debug is used. This information isn't useful in most cases and just adds noise to the log.

This adds a new preprocessor flag to enable the prints in the knuth division code in APInt.


https://reviews.llvm.org/D40404

Files:
  lib/Support/APInt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40404.124114.patch
Type: text/x-patch
Size: 5703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171123/c14f86d1/attachment.bin>


More information about the llvm-commits mailing list