[PATCH] D95222: [LTOBackend] Return module when Parallelism Level == 1.
    Florian Hahn via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jan 27 06:28:48 PST 2021
    
    
  
fhahn updated this revision to Diff 319552.
fhahn added a comment.
Updated splitCodeGen & co to pass the module by reference instead of taking ownership. splitCodeGen clones the original module before carving it up, so it does not need ownership and it simplifies the code. We can change it back to taking ownership, once it is actually required.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95222/new/
https://reviews.llvm.org/D95222
Files:
  llvm/include/llvm/CodeGen/ParallelCG.h
  llvm/include/llvm/LTO/LTOBackend.h
  llvm/include/llvm/Transforms/Utils/SplitModule.h
  llvm/lib/CodeGen/ParallelCG.cpp
  llvm/lib/LTO/LTO.cpp
  llvm/lib/LTO/LTOBackend.cpp
  llvm/lib/LTO/LTOCodeGenerator.cpp
  llvm/lib/Transforms/Utils/SplitModule.cpp
  llvm/tools/llvm-split/llvm-split.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95222.319552.patch
Type: text/x-patch
Size: 11942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210127/fa627e79/attachment.bin>
    
    
More information about the llvm-commits
mailing list