diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-06-05 21:14:18 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-06-05 21:14:43 +0100 |
commit | e8423dbf355ad87fb20a11ed8d469ff87c8a545c (patch) | |
tree | 2298bcfe16aac309a46a9de131bfa74cfb9b155f /llvm/lib/Support/BranchProbability.cpp | |
parent | e3ae4ce66e5944594e93cd680814f72d58cde619 (diff) | |
download | llvm-e8423dbf355ad87fb20a11ed8d469ff87c8a545c.zip llvm-e8423dbf355ad87fb20a11ed8d469ff87c8a545c.tar.gz llvm-e8423dbf355ad87fb20a11ed8d469ff87c8a545c.tar.bz2 |
BranchProbability.cpp - add missing implicit cmath header dependency. NFCI.
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h (necessary for gcc builds but not MSVC)
Diffstat (limited to 'llvm/lib/Support/BranchProbability.cpp')
-rw-r--r-- | llvm/lib/Support/BranchProbability.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/BranchProbability.cpp b/llvm/lib/Support/BranchProbability.cpp index 60d5478..e376344 100644 --- 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; |