[PATCH] D101685: [IndVarSimplify][NFC] Removed mayThrow from if-condition in predicateLoopExits of IndVarSimplify

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 1 03:37:46 PDT 2021


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1673
     for (auto &I : *BB)
       // TODO:isGuaranteedToTransfer
+      if (I.mayHaveSideEffects())
----------------
Or better, implement TODO?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101685



More information about the llvm-commits mailing list