[PATCH] D44812: Remove MachineLoopInfo dependency from AsmPrinter.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 16:28:01 PDT 2018


rengolin added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2774
+
+    assert(MLI != nullptr && "MachineLoopInfo should has been computed");
+    emitBasicBlockLoopComments(MBB, MLI, *this);
----------------
Wait, isn't this only set if `isVerbose`?


Repository:
  rL LLVM

https://reviews.llvm.org/D44812





More information about the llvm-commits mailing list