Per the C++ standard, we need to include the definition of llvm::Calculate in
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Oct 2012 06:19:46 +0000 (06:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Oct 2012 06:19:46 +0000 (06:19 +0000)
every TU where it's implicitly instantiated, even if there's an implicit
instantiation for the same types available in another TU.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166470 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/GCStrategy.cpp
lib/Transforms/Scalar/CodeGenPrepare.cpp

index 506b5cf09457fb3f255fa5b6b8c2485704df1920..8de541de3d99f0b8ed4e1eb1bb12e7e8f03428e1 100644 (file)
@@ -20,6 +20,7 @@
 #include "llvm/IntrinsicInst.h"
 #include "llvm/Module.h"
 #include "llvm/Analysis/Dominators.h"
+#include "llvm/Analysis/DominatorInternals.h"
 #include "llvm/CodeGen/MachineFrameInfo.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
index 4d8176bc6c7df36aebd1f8bc9433e7860074e52b..2b42c75d14d744966f59c1b5c1d90b80ca243bee 100644 (file)
@@ -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"