diff options
| author | River Riddle <riddleriver@gmail.com> | 2020-04-27 12:57:32 -0700 |
|---|---|---|
| committer | River Riddle <riddleriver@gmail.com> | 2020-04-27 13:04:49 -0700 |
| commit | 7c221a7d4fbce512656d9df202972230eb088f37 (patch) | |
| tree | 38ab532d3068d45901f54fa3b2d60912f8de534c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 21acc0612a24731101f07b56a7d47ee990544081 (diff) | |
[mlir][Symbol] Change Symbol from a Trait into an OpInterface.
This provides a much cleaner interface into Symbols, and allows for users to start injecting op-specific information. For example, derived op can now inject when a symbol can be discarded if use_empty. This would let us drop unused external functions, which generally have public visibility.
This revision also adds a new `extraTraitClassDeclaration` field to ODS OpInterface to allow for injecting declarations into the trait class that gets attached to the operations.
Differential Revision: https://reviews.llvm.org/D78522
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
