[PATCH] D93762: SCCP: Refactor SCCPSolver

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 08:05:53 PDT 2021


SjoerdMeijer updated this revision to Diff 336834.
SjoerdMeijer added a comment.

This implements the "pointer to implementation" pattern. I.e., we now have class `SCCPSolver` that is the interface class that holds no state and implementation, which is now contained in a new class `SCCPInstVisitor`.


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

https://reviews.llvm.org/D93762

Files:
  llvm/include/llvm/Transforms/Scalar/SCCP.h
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/lib/Transforms/Utils/CMakeLists.txt
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  pr49582-iterator-invalidation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93762.336834.patch
Type: text/x-patch
Size: 162994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210412/54cb0a20/attachment.bin>


More information about the llvm-commits mailing list