This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Refactor lowerSPLAT_VECTOR_PARTS to use splatPartsI64WithVL for scalable vectors.
ClosedPublic

Authored by craig.topper on Aug 25 2023, 12:21 PM.

Details

Summary

There was quite a bit of duplication between splatPartsI64WithVL
and the scalable vector handling in lowerSPLAT_VECTOR_PARTS, but
scalable vector had one additional case. Move that case to
splatPartsI64WithVL which improves some fixed vector tests.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 25 2023, 12:21 PM
craig.topper requested review of this revision.Aug 25 2023, 12:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2023, 12:21 PM
reames accepted this revision.Aug 25 2023, 12:55 PM

LGTM

This revision is now accepted and ready to land.Aug 25 2023, 12:55 PM
This revision was landed with ongoing or failed builds.Aug 25 2023, 2:15 PM
This revision was automatically updated to reflect the committed changes.