[PATCH] D99075: [ARM] Handle debug instrs in ARM Low Overhead Loop pass

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 13:32:31 PDT 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp:1524
+
+        if (DivergentNext == MBB->end())
+          continue;
----------------
I'm not sure if DivergentNext can be end(), can it? I think the block will always contain a terminator.
(If it can be end(), we would still need to remove the predicates and replace the instruction)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99075



More information about the llvm-commits mailing list