[PATCH] D39223: [opt] Initialize WriteBitcode pass.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 10:00:24 PDT 2017


Meinersbur added a comment.

In https://reviews.llvm.org/D39223#905326, @MatzeB wrote:

> > Alternatively, is there an initializeBitcode{Reader/Writer}() function that initializes all passes from the Bitcode lib?
>
> The reader and writer are in separate libraries, aren't they?


Yes, they are. WriteBitcodePass is the only pass in these libraries (None in LLVMBitReader). I was speculating because other libraries have a common initializeXYZ().


https://reviews.llvm.org/D39223





More information about the llvm-commits mailing list