[PATCH] D70240: [ARM][ReachingDefs] Remove dead code in loloops.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 01:20:14 PST 2019


SjoerdMeijer added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp:348
+
+  // First, find the block that looks like the preheader.
+  MachineBasicBlock *MBB = ML->getHeader();
----------------
Would `MachineLoopInfo::findLoopPreheader()` be useful here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70240/new/

https://reviews.llvm.org/D70240





More information about the llvm-commits mailing list