This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Unify resources of different vector sizes
ClosedPublic

Authored by antiagainst on Jul 27 2022, 4:15 PM.

Details

Summary

This commit extends UnifyAliasedResourcePass to handle the case
where aliased resources have different vector sizes. (It still
requires all scalar types to be of the same bitwidth.) This is
effectively reusing the code for handling different-bitwidth
scalar types.

Depends on D130669

Diff Detail

Event Timeline

antiagainst created this revision.Jul 27 2022, 4:15 PM
antiagainst requested review of this revision.Jul 27 2022, 4:15 PM
ThomasRaoux accepted this revision.Jul 27 2022, 4:18 PM
This revision is now accepted and ready to land.Jul 27 2022, 4:18 PM
This revision was landed with ongoing or failed builds.Jul 27 2022, 4:28 PM
This revision was automatically updated to reflect the committed changes.