[PATCH] D151790: [RISCV][NFC] Add isF argument to SchedSEWSet

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 11:01:55 PDT 2023


michaelmaitland accepted this revision.
michaelmaitland added a comment.
This revision is now accepted and ready to land.

LGTM with minor comment.



================
Comment at: llvm/lib/Target/RISCV/RISCVScheduleV.td:24
+class SchedSEWSet<string mx, bit isF = 0, bit isWidening = 0> {
+  assert !or(!not(isF), !ne(mx, "MF8")), "LMUL shouldn't be MF8 for floating-point";
   defvar t = !cond(!eq(mx, "M1"):  [8, 16, 32, 64],
----------------
Should we add an assert that LMUL should not be M8 for widening?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151790



More information about the llvm-commits mailing list