[llvm] 90f7f24 - try to fix build yet more after 16544cbe64b8
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 12:41:05 PDT 2022
Author: Nico Weber
Date: 2022-09-28T15:40:52-04:00
New Revision: 90f7f24b2069cbbe3a5ef4f832ff313b6ac56528
URL: https://github.com/llvm/llvm-project/commit/90f7f24b2069cbbe3a5ef4f832ff313b6ac56528
DIFF: https://github.com/llvm/llvm-project/commit/90f7f24b2069cbbe3a5ef4f832ff313b6ac56528.diff
LOG: try to fix build yet more after 16544cbe64b8
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp b/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
index 7e49a6117ebd..44ce1e15f0ef 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
@@ -21,6 +21,7 @@
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/InitializePasses.h"
#include "llvm/Target/TargetMachine.h"
+#include <cmath>
#define DEBUG_TYPE "amdgpu-simplifylib"
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index f8d581fb10dd..dbc57eec3af2 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -54,6 +54,7 @@
#include "llvm/Target/TargetOptions.h"
#include <algorithm>
#include <cassert>
+#include <cmath>
#include <cstdint>
#include <iterator>
#include <sstream>
diff --git a/llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp b/llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
index 302b8acf83f9..999b0b06baa6 100644
--- a/llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
+++ b/llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
@@ -108,6 +108,7 @@
#include "llvm/Transforms/Utils/LoopUtils.h"
#include "llvm/Transforms/Utils/ScalarEvolutionExpander.h"
#include <cassert>
+#include <cmath>
#include <iterator>
#include <utility>
More information about the llvm-commits
mailing list