This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use tail agnostic policy when selecting riscv_fma_vl to instructions
ClosedPublic

Authored by craig.topper on May 11 2022, 2:38 PM.

Details

Summary

riscv_fma_vl doesn't have a tail, so use the tail_agnostic policy.

We were already doing this for some patterns. I think the patterns
with fneg and mask were added later and I copied the tail policy
from the unmasked patterns.

Diff Detail

Event Timeline

craig.topper created this revision.May 11 2022, 2:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 2:38 PM
craig.topper requested review of this revision.May 11 2022, 2:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 2:38 PM
khchen accepted this revision.May 11 2022, 6:36 PM

LGTM, thanks!

This revision is now accepted and ready to land.May 11 2022, 6:36 PM
frasercrmck accepted this revision.May 12 2022, 1:59 AM

LGTM too

This revision was landed with ongoing or failed builds.May 12 2022, 9:10 AM
This revision was automatically updated to reflect the committed changes.