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 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 #include