[PATCH] D98002: [RISCV] Add scheduling resources for V

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 18:45:01 PDT 2021


evandro added a comment.

In D98002#2657389 <https://reviews.llvm.org/D98002#2657389>, @NickHung wrote:

> Adding those "sched" information into base RVV instructions seems redundant? The scheduler works on PseudoRVV instructions.

Not redundant, as some tools do use the information at this level, e.g., `llvm-mca`.

Moreover, this patch captures the resources in a way that it makes it easier to add latency information to specific targets later.

> SchedReadWrite needs to consider pseudo instructions with LMUL? Their latency should be different.

And SEW.  I'm working on this feature, of which this patch introduces the preliminary information.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98002/new/

https://reviews.llvm.org/D98002



More information about the llvm-commits mailing list