[PATCH] D103510: [RISCV] Use vmv.v.[v|i] if we know COPY is under the same vl and vtype.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 4 23:51:55 PDT 2021


HsiangKai added a comment.

In D103510#2798999 <https://reviews.llvm.org/D103510#2798999>, @frasercrmck wrote:

> My browser's really chugging on this huge patch so my input has to be brief. Maybe we could hide the test changes for now?
>
> Regarding `vmv.v.i`, is there not already some support for rematerialization (e.g. of immediates)? Or is it non-trivial due to having to manage VSETVLIs?

There seems no support for rematerialization for `vmv.v.i`. Do you mean to set `isReMaterializable = 1, isAsCheapAsAMove = 1` to vmv.v.i pseudo instructions?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103510



More information about the llvm-commits mailing list