This patch reverts the patch from https://reviews.llvm.org/D78884 and
adds logic to disable comments based on NDEBUG.
Original patch removes the indices into the MatcherTable. Controling this via
NDEBUG seems reasonable since the debug messages from the SDAG that refer to
these are also guarded by that macro (since they are LLVM_DEBUG messages).