diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-03-28 17:44:36 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-03-28 17:44:36 +0000 |
commit | a373d18eb7d718de1a2155b9d8a5d64d6f74e131 (patch) | |
tree | d0ba8756bb27a216297873a90e847953e3ebb344 /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | d579c31d684678d2bf136cc8253616bb616bd5f6 (diff) | |
download | bcm5719-llvm-a373d18eb7d718de1a2155b9d8a5d64d6f74e131.tar.gz bcm5719-llvm-a373d18eb7d718de1a2155b9d8a5d64d6f74e131.zip |
Transforms: Introduce Transforms/Utils.h rather than spreading the declarations amongst Scalar.h and IPO.h
Fixes layering - Transforms/Utils shouldn't depend on including a Scalar
or IPO header, because Scalar and IPO depend on Utils.
llvm-svn: 328717
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 45d9058bb89..3b24fdbb3dd 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -106,6 +106,7 @@ #include "llvm/Support/MathExtras.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Scalar.h" +#include "llvm/Transforms/Utils.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include <algorithm> #include <cassert> |