Recommit r318963 "[APInt] Don't print debug messages from the APInt knuth division...
authorCraig Topper <craig.topper@intel.com>
Fri, 24 Nov 2017 20:29:04 +0000 (20:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 24 Nov 2017 20:29:04 +0000 (20:29 +0000)
commit03106bb40ed708a5d8f69d0c890575e15ffad53e
tree482bfd4816f234d65018d38ff67c1697d7c0c131
parent13ed01e6355bced6736f39e2910ba98f0293c328
Recommit r318963 "[APInt] Don't print debug messages from the APInt knuth division algorithm by default"

The previous commit had the condition in the do/while backwards.

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.

Differential Revision: https://reviews.llvm.org/D40404

llvm-svn: 318966
llvm/lib/Support/APInt.cpp