diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-21 20:16:41 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-21 20:16:41 +0000 |
commit | 9a45114b3cf80a2ffc6b86275da82d3ed91e081b (patch) | |
tree | b8bb197005a82e83c2073d3f058eefd7a401a8ba /polly/lib/CodeGen/PPCGCodeGeneration.cpp | |
parent | 9b2df56c596b4929938c44e0eb3c54d89d2ba466 (diff) | |
download | bcm5719-llvm-9a45114b3cf80a2ffc6b86275da82d3ed91e081b.tar.gz bcm5719-llvm-9a45114b3cf80a2ffc6b86275da82d3ed91e081b.zip |
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
llvm-svn: 332881
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 5 |
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 ""; } |