This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Custom lower concat(v4i8 load, ...)
ClosedPublic

Authored by dmgreen on Mar 10 2022, 11:56 AM.

Details

Summary

We already have custom lowering for v4i8 load, which loads as a f32, converts to a vector and bitcasts and extends the result to a v4i16. This adds some custom lowering of concat(v4i8 load, ...) to keep the result as an f32 and create a buildvector of the resulting f32 loads. This helps not create all the extends and bitcasts, which are often difficult to fully clean up.

Diff Detail

Event Timeline

dmgreen created this revision.Mar 10 2022, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2022, 11:56 AM
dmgreen requested review of this revision.Mar 10 2022, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2022, 11:56 AM
This revision is now accepted and ready to land.Mar 11 2022, 12:35 AM
This revision was landed with ongoing or failed builds.Mar 18 2022, 4:58 AM
This revision was automatically updated to reflect the committed changes.