[polly] 5368f35 - [IR] Include target specific intrinsic headers
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 14:54:52 PST 2019
Author: Heejin Ahn
Date: 2019-12-12T14:54:31-08:00
New Revision: 5368f35efaf65d1085472b9ef24e33bb043f384c
URL: https://github.com/llvm/llvm-project/commit/5368f35efaf65d1085472b9ef24e33bb043f384c
DIFF: https://github.com/llvm/llvm-project/commit/5368f35efaf65d1085472b9ef24e33bb043f384c.diff
LOG: [IR] Include target specific intrinsic headers
After D71320, target-specific intrinsic headers should be included.
Added:
Modified:
polly/lib/CodeGen/PerfMonitor.cpp
polly/lib/CodeGen/RuntimeDebugBuilder.cpp
Removed:
################################################################################
diff --git a/polly/lib/CodeGen/PerfMonitor.cpp b/polly/lib/CodeGen/PerfMonitor.cpp
index d9419e90969b..2639e160387b 100644
--- a/polly/lib/CodeGen/PerfMonitor.cpp
+++ b/polly/lib/CodeGen/PerfMonitor.cpp
@@ -12,7 +12,7 @@
#include "polly/CodeGen/RuntimeDebugBuilder.h"
#include "polly/ScopInfo.h"
#include "llvm/ADT/Triple.h"
-#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/IntrinsicsX86.h"
#include <sstream>
using namespace llvm;
diff --git a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
index 29cba08f113b..e49af27c4cea 100644
--- a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
+++ b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
@@ -9,7 +9,7 @@
//===----------------------------------------------------------------------===//
#include "polly/CodeGen/RuntimeDebugBuilder.h"
-#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/IntrinsicsNVPTX.h"
#include "llvm/IR/Module.h"
#include <string>
#include <vector>
More information about the llvm-commits
mailing list