[PATCH] D42033: [RISCV] Initial Machine Scheduler

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 02:09:33 PST 2018


javed.absar added inline comments.


================
Comment at: lib/Target/RISCV/RISCVSchedule.td:18
+
+// Basic ALU with shifts.
+def WriteALUsi : SchedWrite; // Shift by immediate.
----------------
These definitions may be ok for a start, but you would need to decide what best fits your purpose (maybe fewer SchedWriteTypes to begin with ?)


================
Comment at: lib/Target/RISCV/RISCVScheduleGRV32.td:25
+// Functional units
+def GRV32_Issue0  : FuncUnit; // Issue 0
+def GRV32_Issue1  : FuncUnit; // Issue 1
----------------
Why not ProcResource?


Repository:
  rL LLVM

https://reviews.llvm.org/D42033





More information about the llvm-commits mailing list