[PATCH] D144381: [SCEV] Added a utility method that raising the number 2 to the desired power to SCEV

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 02:04:57 PST 2023


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

I talked to Dmitry offline, and the motivating example is in downstream code. However, I think this utility function is still a good thing to have in general, maybe someone else will use it.

@dbakunevich I propose commit message

  [SCEV][NFC] Introduce utility function to get power of 2


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

https://reviews.llvm.org/D144381



More information about the llvm-commits mailing list