[PATCH] D44812: Remove MachineLoopInfo dependency from AsmPrinter.

Michael Zolotukhin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 18:21:09 PDT 2018


mzolotukhin marked an inline comment as done.
mzolotukhin added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2774
+
+    assert(MLI != nullptr && "MachineLoopInfo should has been computed");
+    emitBasicBlockLoopComments(MBB, MLI, *this);
----------------
rengolin wrote:
> Wait, isn't this only set if `isVerbose`?
Yes, and here it's also under this condition. Am I missing something?


Repository:
  rL LLVM

https://reviews.llvm.org/D44812





More information about the llvm-commits mailing list