[PATCH] D96600: [TTI] Unify FavorPostInc and FavorBackedgeIndex into getAddressingMode

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 01:59:39 PST 2021


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

That sounds OK. Like I said if you want to do any amount of processing in getPreferredAddressingMode then it probably needs to be caching the result. Cost::RateRegister is called a lot of times for some loops.


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

https://reviews.llvm.org/D96600



More information about the llvm-commits mailing list