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

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 05:48:31 PDT 2022


yota9 added inline comments.


================
Comment at: bolt/lib/Passes/LoopInversionPass.cpp:61
+
+      if (LoopCount < ExitCount) {
+        if (BBIndex > SuccBBIndex)
----------------
Could you please re-format this "if" condition back how it was and use "else if" for new condition? 


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