diff options
author | Florian Hahn <flo@fhahn.com> | 2020-01-04 18:15:02 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-01-04 18:29:35 +0000 |
commit | 51ef53f3bd23559203fe9af82ff2facbfedc1db3 (patch) | |
tree | 39c4f19b2f412cc832a747e2d1e8173a21831f47 /llvm/lib/CodeGen/HardwareLoops.cpp | |
parent | 99f74a64a2dd75b91dc0dbd1f9a6298a1c21fd64 (diff) | |
download | bcm5719-llvm-51ef53f3bd23559203fe9af82ff2facbfedc1db3.tar.gz bcm5719-llvm-51ef53f3bd23559203fe9af82ff2facbfedc1db3.zip |
[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.
Reviewers: sanjoy.google, efriedma, reames
Reviewed By: sanjoy.google
Differential Revision: https://reviews.llvm.org/D71537
Diffstat (limited to 'llvm/lib/CodeGen/HardwareLoops.cpp')
-rw-r--r-- | llvm/lib/CodeGen/HardwareLoops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/HardwareLoops.cpp b/llvm/lib/CodeGen/HardwareLoops.cpp index 65c2a37e5d4..d5212081ff9 100644 --- a/llvm/lib/CodeGen/HardwareLoops.cpp +++ b/llvm/lib/CodeGen/HardwareLoops.cpp @@ -20,7 +20,6 @@ #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/OptimizationRemarkEmitter.h" #include "llvm/Analysis/ScalarEvolution.h" -#include "llvm/Analysis/ScalarEvolutionExpander.h" #include "llvm/Analysis/TargetTransformInfo.h" #include "llvm/CodeGen/Passes.h" #include "llvm/CodeGen/TargetPassConfig.h" @@ -43,6 +42,7 @@ #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/Transforms/Utils/Local.h" #include "llvm/Transforms/Utils/LoopUtils.h" +#include "llvm/Transforms/Utils/ScalarEvolutionExpander.h" #define DEBUG_TYPE "hardware-loops" |