summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-12-12 14:47:46 -0800
committerHeejin Ahn <aheejin@gmail.com>2019-12-12 14:54:31 -0800
commit5368f35efaf65d1085472b9ef24e33bb043f384c (patch)
treefaee7d564ef47dd8a45a30ba477c2668f719055d /polly/lib/CodeGen
parentdbb3fec8adfc4ac3fbf31f51f294427dbabbebb2 (diff)
downloadbcm5719-llvm-5368f35efaf65d1085472b9ef24e33bb043f384c.tar.gz
bcm5719-llvm-5368f35efaf65d1085472b9ef24e33bb043f384c.zip
[IR] Include target specific intrinsic headers
After D71320, target-specific intrinsic headers should be included.
Diffstat (limited to 'polly/lib/CodeGen')
-rw-r--r--polly/lib/CodeGen/PerfMonitor.cpp2
-rw-r--r--polly/lib/CodeGen/RuntimeDebugBuilder.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/PerfMonitor.cpp b/polly/lib/CodeGen/PerfMonitor.cpp
index d9419e90969..2639e160387 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 29cba08f113..e49af27c4ce 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>
OpenPOWER on IntegriCloud