This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Remove vmv_v_x_vl workaround for constant splat. NFC
ClosedPublic

Authored by luke on Aug 31 2023, 7:39 AM.

Details

Summary

Now that DAG.getConstant uses splat_vector_parts if needed on RV32, we can use
it directly without having to manually lower to a vmv_v_x_vl.

Diff Detail

Event Timeline

luke created this revision.Aug 31 2023, 7:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2023, 7:39 AM
luke requested review of this revision.Aug 31 2023, 7:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2023, 7:39 AM
reames accepted this revision.Aug 31 2023, 9:38 AM

LGTM

This revision is now accepted and ready to land.Aug 31 2023, 9:38 AM
This revision was automatically updated to reflect the committed changes.