From: Cong Hou <congh@google.com>
Date: Wed, 5 Aug 2015 22:13:43 +0000 (+0000)
Subject: Add <numeric> header for use of std::accumulate().
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6c8c4ae1b95ea5702a580e1b46e7ea288d88dee;p=oota-llvm.git

Add <numeric> header for use of std::accumulate().



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

diff --git a/include/llvm/CodeGen/MachineBranchProbabilityInfo.h b/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
index 55b96961c35..d1b1ef1edf6 100644
--- a/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
+++ b/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
@@ -18,6 +18,7 @@
 #include "llvm/Pass.h"
 #include "llvm/Support/BranchProbability.h"
 #include <climits>
+#include <numeric>
 
 namespace llvm {