Add <numeric> header for use of std::accumulate().
authorCong Hou <congh@google.com>
Wed, 5 Aug 2015 22:13:43 +0000 (22:13 +0000)
committerCong Hou <congh@google.com>
Wed, 5 Aug 2015 22:13:43 +0000 (22:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244156 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineBranchProbabilityInfo.h

index 55b96961c35b7cde927a5c42a6bd7e4cc4c35ed3..d1b1ef1edf65699e2b673f7f7c7315fd03022a36 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/Pass.h"
 #include "llvm/Support/BranchProbability.h"
 #include <climits>
+#include <numeric>
 
 namespace llvm {