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)
llvm-svn: 244156

llvm/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 {