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/Transforms/Utils/LoopVersioning.cpp | |
parent | 99f74a64a2dd75b91dc0dbd1f9a6298a1c21fd64 (diff) | |
download | llvm-51ef53f3bd23559203fe9af82ff2facbfedc1db3.zip llvm-51ef53f3bd23559203fe9af82ff2facbfedc1db3.tar.gz llvm-51ef53f3bd23559203fe9af82ff2facbfedc1db3.tar.bz2 |
[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/Transforms/Utils/LoopVersioning.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopVersioning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp index 50752bd..33a26ed 100644 --- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp +++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp @@ -15,13 +15,13 @@ #include "llvm/Transforms/Utils/LoopVersioning.h" #include "llvm/Analysis/LoopAccessAnalysis.h" #include "llvm/Analysis/LoopInfo.h" -#include "llvm/Analysis/ScalarEvolutionExpander.h" #include "llvm/IR/Dominators.h" #include "llvm/IR/MDBuilder.h" #include "llvm/InitializePasses.h" #include "llvm/Support/CommandLine.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/Transforms/Utils/Cloning.h" +#include "llvm/Transforms/Utils/ScalarEvolutionExpander.h" using namespace llvm; |