OSDN Git Service

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)
commitcdd7d2254c1409b9364623bcbd90daa56e44682f
tree556469699269c8f2fd4fef52da38491d232560d7
parentea90eceb33080c610745195bc595c0e8b918ed5c
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318966 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp