Execute all Pass Printers even if -quiet is set.
authorTobias Grosser <grosser@fim.uni-passau.de>
Wed, 8 Sep 2010 15:02:51 +0000 (15:02 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Wed, 8 Sep 2010 15:02:51 +0000 (15:02 +0000)
commite9dcd033e4aa4c276d45b48ddae6728a4725addd
tree0be97b4253b078722d5ac75ad8be0e0ba77a8ed4
parent4207d6f7856f50b79a43dd3cb4c60fae322fd142
Execute all Pass Printers even if -quiet is set.

Follow the same logic in the LoopPass, ModulePass and CallGraphSCCPass printers,
as it was already used in the BasicBlockPass and FunctionPass printers. This is
more consistent.

The other option would have been to completely disable dumping the analysis
information. However, as this information is the only information printed if the
-analysis flag is set, calling opt would not do anything at all.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113360 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/opt.cpp