[all-commits] [llvm/llvm-project] bbab9f: [SCCP] Create SCCP Solver

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Wed Apr 14 06:59:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbab9f986c6df8508eb64697923eb70ee17cb0f8
      https://github.com/llvm/llvm-project/commit/bbab9f986c6df8508eb64697923eb70ee17cb0f8
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/SCCP.h
    A llvm/include/llvm/Transforms/Utils/SCCPSolver.h
    M llvm/lib/Transforms/Scalar/SCCP.cpp
    M llvm/lib/Transforms/Utils/CMakeLists.txt
    A llvm/lib/Transforms/Utils/SCCPSolver.cpp

  Log Message:
  -----------
  [SCCP] Create SCCP Solver

This refactors SCCP and creates a SCCPSolver interface and class so that it can
be used by other passes and transformations. We will use this in D93838, which
adds a function specialisation pass.

This is based on an early version by Vinay Madhusudan.

Differential Revision: https://reviews.llvm.org/D93762




More information about the All-commits mailing list