summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Compression.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-08-12 21:33:36 +0000
committerTeresa Johnson <tejohnson@google.com>2016-08-12 21:33:36 +0000
commit358657f27edf9b2eebf1cc12a4daf47c97eaab33 (patch)
tree3ccde3393375bdd44d4a3b928d38557108bf5d00 /llvm/lib/Support/Compression.cpp
parent9667417a1a1a2590b023e9715a48049118440d42 (diff)
downloadbcm5719-llvm-358657f27edf9b2eebf1cc12a4daf47c97eaab33.tar.gz
bcm5719-llvm-358657f27edf9b2eebf1cc12a4daf47c97eaab33.zip
[PM] BitcodeWriterPass should derive from PassInfoMixin
Summary: The BitcodeWriterPass was ported a couple years ago, and predates the PassInfoMixin. Make BitcodeWriterPass from that base class. Should BitcodeWriterPass be added to the PassRegistry.def file? It seems like that is only for passes that can be added arbitrarily, e.g. via the -passes flag to the opt tool. Whereas the bitcode writer is added specially based on the output type (and requires an output stream and other parameters). For now I have left it out of the PassRegistry, but let me know if it should go there. Finally, I was considering an NFC change of the legacy WriteBitcodePass to BitcodeWriterLegacyPass to make its usage clearer and more consistent with other legacy passes. WDYT? Reviewers: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23465 llvm-svn: 278566
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud