This is an archive of the discontinued LLVM Phabricator instance.

Support lowering of index-cast on vector types.
ClosedPublic

Authored by arpith-jacob on Jun 14 2021, 9:01 PM.

Details

Summary

The index cast operation accepts vector types. Implement its lowering in this patch.

Diff Detail

Event Timeline

arpith-jacob created this revision.Jun 14 2021, 9:01 PM
arpith-jacob requested review of this revision.Jun 14 2021, 9:01 PM
arpith-jacob edited the summary of this revision. (Show Details)Jun 14 2021, 9:02 PM
ftynse accepted this revision.Jun 15 2021, 8:00 AM

Could we update the doc of the index cast op while we are here? It current says "casts between <...> scalars".

This revision is now accepted and ready to land.Jun 15 2021, 8:00 AM

Updated docs.

Done.

Could you commit this patch? Thanks!

This revision was automatically updated to reflect the committed changes.