This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Fix a few issues in ModuleCombiner
ClosedPublic

Authored by antiagainst on Jul 27 2021, 8:54 AM.

Details

Summary
  • Fixed symbol insertion into symNameToModuleMap. Insertion needs to happen whether symbols are renamed or not.
  • Added check for the VCE triple and avoid dropping it.
  • Disabled function deduplication. It requires more careful rules. Right now it can remove different functions.
  • Added tests for symbol rename listener.
  • And some other code/comment cleanups.

Diff Detail

Event Timeline

antiagainst created this revision.Jul 27 2021, 8:54 AM
antiagainst requested review of this revision.Jul 27 2021, 8:54 AM
ergawy accepted this revision.Jul 28 2021, 6:19 AM

Glad to see the module combiner will see some action :D. Thank you.

This revision is now accepted and ready to land.Jul 28 2021, 6:19 AM
This revision was automatically updated to reflect the committed changes.