summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index d59d9a374ca..98e673e5ba5 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -2369,8 +2369,9 @@ std::string GPUNodeBuilder::createKernelASM() {
PM.add(createTargetTransformInfoWrapperPass(TargetM->getTargetIRAnalysis()));
- if (TargetM->addPassesToEmitFile(
- PM, ASMStream, TargetMachine::CGFT_AssemblyFile, true /* verify */)) {
+ if (TargetM->addPassesToEmitFile(PM, ASMStream, nullptr,
+ TargetMachine::CGFT_AssemblyFile,
+ true /* verify */)) {
errs() << "The target does not support generation of this file type!\n";
return "";
}
OpenPOWER on IntegriCloud