[PATCH] D96772: [LSR] Cleanup of getPreferredAddresingMode. NFC.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 08:56:47 PST 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:5565
     : IU(IU), SE(SE), DT(DT), LI(LI), AC(AC), TLI(TLI), TTI(TTI), L(L),
-      MSSAU(MSSAU), FavorBackedgeIndex(EnableBackedgeIndexing &&
-                                       TTI.getPreferredAddressingMode(L, &SE) ==
----------------
Should the EnableBackedgeIndexing option override what the target defines? Or could it be removed, or replaced?


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

https://reviews.llvm.org/D96772



More information about the llvm-commits mailing list