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)
commitc1f7ae15bb970b347ddeb80d4474f7e7f2099a60
tree60bb17cd7f865f2db32296286649b75c0cc54bd2
parentc97410eed21948f6ff1caa187e1ad4f924553733
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.

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