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.
Paths
| Differential D125424
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 11 2022, 6:36 PM This revision was landed with ongoing or failed builds.May 12 2022, 9:10 AM Closed by commit rG40e965451151: [RISCV] Use tail agnostic policy when selecting riscv_fma_vl to instructions (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 428964 llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfma-vp.ll
llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
|