projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ae4ce
)
BranchProbability.cpp - add missing implicit cmath header dependency. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sat, 5 Jun 2021 20:14:18 +0000
(21:14 +0100)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sat, 5 Jun 2021 20:14:43 +0000
(21:14 +0100)
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h (necessary for gcc builds but not MSVC)
llvm/lib/Support/BranchProbability.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/BranchProbability.cpp
b/llvm/lib/Support/BranchProbability.cpp
index
60d5478
..
e376344
100644
(file)
--- a/
llvm/lib/Support/BranchProbability.cpp
+++ b/
llvm/lib/Support/BranchProbability.cpp
@@
-16,6
+16,7
@@
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
+#include <cmath>
using namespace llvm;