summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Hou <congh@google.com>2015-08-05 22:13:43 +0000
committerCong Hou <congh@google.com>2015-08-05 22:13:43 +0000
commit2b34fd932069e068ea55494706b8b2012f3270d0 (patch)
treebf474816188cdd28d5e29b2f3305f57672cc0296
parent559c1d72a94dcd7dba088438359422591aa3355b (diff)
downloadbcm5719-llvm-2b34fd932069e068ea55494706b8b2012f3270d0.tar.gz
bcm5719-llvm-2b34fd932069e068ea55494706b8b2012f3270d0.zip
Add <numeric> header for use of std::accumulate().
llvm-svn: 244156
-rw-r--r--llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h b/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
index 55b96961c35..d1b1ef1edf6 100644
--- a/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
@@ -18,6 +18,7 @@
#include "llvm/Pass.h"
#include "llvm/Support/BranchProbability.h"
#include <climits>
+#include <numeric>
namespace llvm {
OpenPOWER on IntegriCloud