This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Extract more ops from the main implementation file. NFC.
ClosedPublic

Authored by kuhar on Jul 20 2023, 1:55 PM.

Details

Summary

Continue to work outlined in D155747 and split the main SPIR-V ops
implementation file into a few smaller and quicker to compile files.

Move control flow and memory ops to their own implementation files.
Create new .cpp files for tablegened code.

After this change, the SPIRVOps.cpp is 2k LoC-long and takes a
reasonable amount of time to compile.

Diff Detail

Event Timeline

kuhar created this revision.Jul 20 2023, 1:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2023, 1:55 PM
kuhar requested review of this revision.Jul 20 2023, 1:55 PM
kuhar updated this revision to Diff 542664.Jul 20 2023, 1:59 PM

Clean up

kuhar retitled this revision from [mlir][spirv] Extract more ops from the main implementation file to [mlir][spirv] Extract more ops from the main implementation file. NFC..Jul 20 2023, 1:59 PM
antiagainst accepted this revision.Jul 20 2023, 2:06 PM
This revision is now accepted and ready to land.Jul 20 2023, 2:06 PM
This revision was landed with ongoing or failed builds.Jul 20 2023, 2:14 PM
This revision was automatically updated to reflect the committed changes.