This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Trim RVV isel pats matchable via DAG post-process
ClosedPublic

Authored by frasercrmck on Mar 29 2022, 12:00 AM.

Details

Summary

In D122512, several masked patterns were added to support lowering of
vector-predicated float-to-int and int-to-float conversions. With the
introduction of these patterns, all of the old "unmasked" patterns are
matchable via the DAG post-process introduced in D118810, once the relevant
opcode entries are set up in the helper table.

Locally this reduces the generated isel table by 4%.

Diff Detail

Event Timeline

frasercrmck created this revision.Mar 29 2022, 12:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2022, 12:00 AM
frasercrmck requested review of this revision.Mar 29 2022, 12:00 AM
arcbbb accepted this revision.Mar 29 2022, 12:30 AM

LGTM

This revision is now accepted and ready to land.Mar 29 2022, 12:30 AM
This revision was landed with ongoing or failed builds.Mar 30 2022, 1:08 AM
This revision was automatically updated to reflect the committed changes.