This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use tail agnostic if inserting subvector/element at the end of a vector.
ClosedPublic

Authored by fakepaper56 on Dec 26 2022, 3:38 AM.

Details

Summary

The patch tries to make more vslidup nodes use tail agnostic. The idea comes
from D125546 authored by Zack Chen.

Diff Detail

Event Timeline

fakepaper56 created this revision.Dec 26 2022, 3:38 AM
fakepaper56 requested review of this revision.Dec 26 2022, 3:38 AM
craig.topper accepted this revision.Dec 30 2022, 8:58 AM

LGTM with those typos fixed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp
5243

poliy->policy

6158

poliy->policy

This revision is now accepted and ready to land.Dec 30 2022, 8:58 AM

Rebase and fix typos.

fakepaper56 marked an inline comment as done.

Fix typo.

fakepaper56 marked an inline comment as done.Dec 30 2022, 7:28 PM
This revision was landed with ongoing or failed builds.Dec 30 2022, 7:29 PM
This revision was automatically updated to reflect the committed changes.