[polly] r332881 - CodeGen: Add a dwo output file argument to addPassesToEmitFile and hook it up to dwo output.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 13:16:42 PDT 2018


Author: pcc
Date: Mon May 21 13:16:41 2018
New Revision: 332881

URL: http://llvm.org/viewvc/llvm-project?rev=332881&view=rev
Log:
CodeGen: Add a dwo output file argument to addPassesToEmitFile and hook it up to dwo output.

Part of PR37466.

Differential Revision: https://reviews.llvm.org/D47089

Modified:
    polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp

Modified: polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp?rev=332881&r1=332880&r2=332881&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Mon May 21 13:16:41 2018
@@ -2369,8 +2369,9 @@ std::string GPUNodeBuilder::createKernel
 
   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 "";
   }




More information about the llvm-commits mailing list