[PATCH] D38722: Added Remarks for Loop Versioning LICM Pass

Deepak Porwal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 01:40:19 PST 2017


Deepak_Porwal marked 5 inline comments as done.
Deepak_Porwal added inline comments.


================
Comment at: lib/Transforms/Scalar/LoopVersioningLICM.cpp:497-504
   if (!legalLoopMemoryAccesses()) {
     DEBUG(dbgs()
           << "    Loop memory access not suitable for LoopVersioningLICM\n\n");
+    ORE->emit([&]() {
+        return OptimizationRemarkMissed(DEBUG_TYPE, "IllegalLoopMemoryAccess",
+                                 CurLoop->getStartLoc(), CurLoop->getHeader())
+        << "Illegal Loop memory access\n";
----------------
anemet wrote:
> Same here if possible.
Not possible here


Repository:
  rL LLVM

https://reviews.llvm.org/D38722





More information about the llvm-commits mailing list