[PATCH] D155654: [RISCV] Add SchedRead for Merge operands on MASK Pseudos

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 09:42:41 PDT 2023


wangpc added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVSchedSiFive7.td:1170
 def : ReadAdvance<ReadVMask, 0>;
+def : ReadAdvance<!cast<SchedRead>("ReadVMergeOp_WorstCase"), 0>;
+foreach mx = SchedMxList in {
----------------
No need to do casting here, just use `ReadVMergeOp_WorstCase`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155654



More information about the llvm-commits mailing list