[PATCH] D138654: [IPSCCP] Move the IPSCCP run function under the IPO directory.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 04:15:20 PST 2022


labrinea created this revision.
labrinea added reviewers: momchil.velikov, ChuanqiXu, nikic, fhahn.
Herald added subscribers: nlopes, snehasish, ormris, hiraditya.
Herald added a project: All.
labrinea requested review of this revision.
Herald added a project: LLVM.

The LLVMipo library no longer depends on the Scalar component. The shared functions between IPSCCP and SCCP have been moved under Utils, in the SCCPSolver.

This is preliminary work for D126455 <https://reviews.llvm.org/D126455>, in order to break cyclic dependecy of LLVM libraries.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138654

Files:
  llvm/include/llvm/Transforms/Scalar/SCCP.h
  llvm/include/llvm/Transforms/Utils/SCCPSolver.h
  llvm/lib/Transforms/IPO/CMakeLists.txt
  llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
  llvm/lib/Transforms/IPO/SCCP.cpp
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138654.477710.patch
Type: text/x-patch
Size: 52220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221124/c3002a8a/attachment-0001.bin>


More information about the llvm-commits mailing list