[all-commits] [llvm/llvm-project] bcbd26: [SCEV] Move ScalarEvolutionExpander.cpp to Transfo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed May 20 02:54:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bcbd26bfe61a35e31b1f7e98b5761a1055273b69
      https://github.com/llvm/llvm-project/commit/bcbd26bfe61a35e31b1f7e98b5761a1055273b69
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-05-20 (Wed, 20 May 2020)

  Changed paths:
    R llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
    A llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Analysis/CMakeLists.txt
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    R llvm/lib/Analysis/ScalarEvolutionExpander.cpp
    M llvm/lib/CodeGen/HardwareLoops.cpp
    M llvm/lib/Target/ARM/MVETailPredication.cpp
    M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
    M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp
    M llvm/lib/Transforms/Scalar/LoopRerollPass.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Utils/CMakeLists.txt
    M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Utils/LoopVersioning.cpp
    A llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
    M llvm/unittests/Transforms/Utils/CMakeLists.txt
    M llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
    A llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp

  Log Message:
  -----------
  [SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC).

SCEVExpander modifies the underlying function so it is more suitable in
Transforms/Utils, rather than Analysis. This allows using other
transform utils in SCEVExpander.

This patch was originally committed as b8a3c34eee06, but broke the
modules build, as LoopAccessAnalysis was using the Expander.

The code-gen part of LAA was moved to lib/Transforms recently, so this
patch can be landed again.

Reviewers: sanjoy.google, efriedma, reames

Reviewed By: sanjoy.google

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




More information about the All-commits mailing list