aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2022-09-28 18:39:23 +0200
committerserge-sans-paille <sguelton@redhat.com>2022-09-28 20:49:01 +0200
commit16544cbe64b81a50800a88296ef37f4873a37b25 (patch)
tree2cc9f1009abd93707537d375c23bba672250a3db /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent99c7f83b99bea43235cdaaaf955f2242a25b92bf (diff)
downloadllvm-16544cbe64b81a50800a88296ef37f4873a37b25.zip
llvm-16544cbe64b81a50800a88296ef37f4873a37b25.tar.gz
llvm-16544cbe64b81a50800a88296ef37f4873a37b25.tar.bz2
[iwyu] Move <cmath> out of llvm/Support/MathExtras.h
Interestingly, MathExtras.h doesn't use <cmath> declaration, so move it out of that header and include it when needed. No functional change intended, but there's no longer a transitive include fromMathExtras.h to cmath.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index 7fd51c8..f7684ae 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -34,6 +34,7 @@
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include <algorithm>
+#include <cmath>
using namespace llvm;
#define DEBUG_TYPE "codegen"