This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use tail undisturbed vmv.v.v instead of vadd.vi with 0 for vp.merge with all ones mask.
ClosedPublic

Authored by craig.topper on Jun 9 2023, 9:30 AM.

Details

Diff Detail

Event Timeline

craig.topper created this revision.Jun 9 2023, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 9:30 AM
craig.topper requested review of this revision.Jun 9 2023, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 9:30 AM
This revision is now accepted and ready to land.Jun 10 2023, 5:54 AM
luke added inline comments.Jun 11 2023, 1:57 AM
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
3413

Nit: should this be CASE_VMERGE_TO_VMV

frasercrmck accepted this revision.Jun 12 2023, 1:52 AM

LGTM.

Is it worth renaming the test file too? Or later after this has merged?

reames accepted this revision.Jun 12 2023, 7:38 AM

LGTM

This revision was landed with ongoing or failed builds.Jun 12 2023, 10:27 AM
This revision was automatically updated to reflect the committed changes.