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 55b9696..d1b1ef1 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/Pass.h"
 #include "llvm/Support/BranchProbability.h"
 #include <climits>
+#include <numeric>
 
 namespace llvm {