[PATCH] D121921: [LoopInversionPass] Avoid pointless loop rotation

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 06:14:19 PDT 2022


yota9 added inline comments.


================
Comment at: bolt/lib/Passes/LoopInversionPass.cpp:61
+
+      if (LoopCount < ExitCount) {
+        if (BBIndex > SuccBBIndex)
----------------
yota9 wrote:
> Could you please re-format this "if" condition back how it was and use "else if" for new condition? 
Don't pay attention to the first part of the comment above, just reformat "else if" please


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121921



More information about the llvm-commits mailing list