[PATCH] D41274: [LTO] NFC: remove unique_ptr from some LTO::RegularLTOState members

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 23:44:28 PST 2017


vitalybuka created this revision.
vitalybuka added a reviewer: pcc.
Herald added subscribers: hiraditya, inglorion, mehdi_amini.

LTO::RegularLTOState::CombinedModule and LTO::RegularLTOState::Mover do not have
to be pointers.

LTO::RegularLTOState::HasCombinedModule is needed to have this patch as NFC.
It should be removed by https://reviews.llvm.org/D41267.


https://reviews.llvm.org/D41274

Files:
  llvm/include/llvm/LTO/LTO.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/Transforms/Utils/SplitModule.cpp
  llvm/tools/llvm-split/llvm-split.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41274.127071.patch
Type: text/x-patch
Size: 12984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171215/bcaa8fe5/attachment.bin>


More information about the llvm-commits mailing list