[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
Tue Oct 12 04:15:44 PDT 2021


HsiangKai marked an inline comment as done.
HsiangKai added a comment.

In D103510#3056401 <https://reviews.llvm.org/D103510#3056401>, @craig.topper wrote:

> This test case triggers a conversion for a tuple class
>
>   dead $x0 = PseudoVSETVLI killed renamable $x11, 64, implicit-def $vl, implicit-def $vtype
>   renamable $v0_v1 = PseudoVLSEG2E8_V_M1 killed renamable $x10, $noreg, 3, implicit $vl, implicit $vtype
>   $v2_v3 = COPY $v0_v1                                                         
>   PseudoVSSEG2E8_V_M1 killed renamable $v2_v3, killed renamable $x12, $noreg, 3, implicit $vl, implicit $vtype
>   PseudoRET

Thanks. I added the test case and added back the checking for zvlsseg 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