[PATCH] D143409: [SCEV][IndVarSimplify] Add nsw/nuw falgs to binary ops before visiting IVUsers

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 04:34:22 PST 2023


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/SimplifyIndVar.cpp:894
+        pushIVUsers(IVOperand, L, Simplified, SimpleIVUsers);
+
   while (!SimpleIVUsers.empty()) {
----------------
This solves problem for users of initial IV, but seems that it still exists for users of users. Can we do it for all values?


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

https://reviews.llvm.org/D143409



More information about the llvm-commits mailing list