diff options
| author | ergawy <kareem.ergawy@gmail.com> | 2020-10-30 09:18:29 -0400 |
|---|---|---|
| committer | Lei Zhang <antiagainst@google.com> | 2020-10-30 09:37:28 -0400 |
| commit | 316593ce839f05af936e705182747743e4638f3c (patch) | |
| tree | ceb9d33f6cd0a470a243b2d8a35f47c821619c86 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | cea69fa4dcc4fcf3be62dba49ad012879d89377d (diff) | |
[MLIR][SPIRV] Start module combiner
This commit adds a new library that merges/combines a number of spv
modules into a combined one. The library has a single entry point:
combine(...).
To combine a number of MLIR spv modules, we move all the module-level ops
from all the input modules into one big combined module. To that end, the
combination process can proceed in 2 phases:
(1) resolving conflicts between pairs of ops from different modules
(2) deduplicate equivalent ops/sub-ops in the merged module. (TODO)
This patch implements only the first phase.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D90022
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
