[polly] 2c83197 - [GPGPU] Fix #includes.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 12:40:22 PST 2019
Author: Michael Kruse
Date: 2019-11-14T14:39:28-06:00
New Revision: 2c831971bf9670cd4b5b40c06983845eeffc7245
URL: https://github.com/llvm/llvm-project/commit/2c831971bf9670cd4b5b40c06983845eeffc7245
DIFF: https://github.com/llvm/llvm-project/commit/2c831971bf9670cd4b5b40c06983845eeffc7245.diff
LOG: [GPGPU] Fix #includes.
Adapt for 05da2fe52162 "Sink all InitializePasses.h includes" which
forgot the GPGPU files (presumably because POLLY_ENABLE_GPGPU_CODEGEN
is OFF by default).
Added:
Modified:
polly/lib/CodeGen/ManagedMemoryRewrite.cpp
polly/lib/CodeGen/PPCGCodeGeneration.cpp
Removed:
################################################################################
diff --git a/polly/lib/CodeGen/ManagedMemoryRewrite.cpp b/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
index 8492b5f339b8..7c2dba1a5ecf 100644
--- a/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
+++ b/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
@@ -23,6 +23,7 @@
#include "polly/ScopDetection.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Analysis/CaptureTracking.h"
+#include "llvm/InitializePasses.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"
using namespace polly;
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index 1b29fc4fd86c..e9ad7c28c686 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -28,6 +28,7 @@
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/Verifier.h"
#include "llvm/IRReader/IRReader.h"
+#include "llvm/InitializePasses.h"
#include "llvm/Linker/Linker.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetRegistry.h"
More information about the llvm-commits
mailing list