[PATCH] D102796: [SCEV] Cache operands used in BEInfo

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 10:10:02 PDT 2021


lebedev.ri added a comment.

This is great.
I, however, wonder if we are missing some more global caching for the `ScalarEvolution::isSCEVExprNeverPoison(const Instruction *)` itself.
For example, can we simply cache the entire result of that function?
When would it need to be invalidated?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102796



More information about the llvm-commits mailing list