[PATCH] D153358: [RISCV] Fold vmv.v.v across different subregister classes

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 12:45:47 PDT 2023


reames added a comment.

I think this is now ready to be rebased over the reworked and merged transform.

One thing to make sure of - we need the new passthru operand - previous "False" in the in-tree code, to be the same subreg class as the true after stripping off the COPY_TO_REGCLASS.  We also need to know that VL is within the smaller reg class.  I don't think the current patch checks either of these, directly.  (they might be implied by some non-obvious reasoning, haven't thought about it too hard.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153358



More information about the llvm-commits mailing list