This is an archive of the discontinued LLVM Phabricator instance.

[VP] Correct the LEGALPOS for VP_STORE.
ClosedPublic

Authored by craig.topper on Aug 30 2022, 1:17 PM.

Details

Summary

VP_STORE has a Chain for operand 0, so the LEGALPOS should be 1.

VP_STORE is always considered Legal for MVT::Other. So I suspect this
was causing vp_store to be ignored by LegalizeVectorOps and instead
handled in LegalizeDAG.

VP_LOAD is Custom expanded in LegalizeVectorOps for RISC-V.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 30 2022, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 1:17 PM
craig.topper requested review of this revision.Aug 30 2022, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 1:17 PM
simoll accepted this revision.Aug 30 2022, 11:46 PM
This revision is now accepted and ready to land.Aug 30 2022, 11:46 PM
This revision was automatically updated to reflect the committed changes.