diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-10-23 06:19:46 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-10-23 06:19:46 +0000 |
commit | 6289a4e85e0b396b36bf0cddc802802f21e95de5 (patch) | |
tree | 570d479aae1e721ebe54562b13da5969211a9ef4 /llvm/lib/Transforms | |
parent | fc9e7a2969650e52a87864a6a79bd37b42ea33e3 (diff) | |
download | bcm5719-llvm-6289a4e85e0b396b36bf0cddc802802f21e95de5.tar.gz bcm5719-llvm-6289a4e85e0b396b36bf0cddc802802f21e95de5.zip |
Per the C++ standard, we need to include the definition of llvm::Calculate in
every TU where it's implicitly instantiated, even if there's an implicit
instantiation for the same types available in another TU.
llvm-svn: 166470
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp index 4d8176bc6c7..2b42c75d14d 100644 --- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -28,6 +28,7 @@ #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/Dominators.h" +#include "llvm/Analysis/DominatorInternals.h" #include "llvm/Analysis/InstructionSimplify.h" #include "llvm/Analysis/ProfileInfo.h" #include "llvm/Assembly/Writer.h" |