This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Unify aliases of different bitwidth scalar types
ClosedPublic

Authored by antiagainst on Jun 7 2022, 6:06 PM.

Details

Summary

This commit extends the UnifyAliasedResourcePass to handle scalar
types of different bitwidths. It requires to get the smaller bitwidth
resource as the canonical resource so that we can avoid subcomponent
load/store. Instead we load/store multiple smaller bitwidth ones.

Diff Detail

Event Timeline

antiagainst created this revision.Jun 7 2022, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2022, 6:06 PM
antiagainst requested review of this revision.Jun 7 2022, 6:06 PM
hanchung accepted this revision.Jun 8 2022, 10:16 PM
This revision is now accepted and ready to land.Jun 8 2022, 10:16 PM