HomePhabricator

[RISCV] Implement COPY for Zvlsseg registers

Authored by arcbbb on Apr 11 2021, 7:34 PM.

Description

[RISCV] Implement COPY for Zvlsseg registers

When copying Zvlsseg register tuples, we split the COPY to NF whole register moves
as below:

$v10m2_v12m2 = COPY $v4m2_v6m2 # NF = 2

>

$v10m2 = PseudoVMV2R_V $v4m2
$v12m2 = PseudoVMV2R_V $v6m2

This patch copies forwardCopyWillClobberTuple from AArch64 to check
register overlapping.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D100280

Details

Committed
arcbbbApr 13 2021, 6:55 PM
Reviewer
frasercrmck
Differential Revision
D100280: [RISCV] Implement COPY for Zvlsseg registers
Parents
rG5c500c9f01aa: [scudo] Make MTE inline asm compatible with GNU assembler
Branches
Unknown
Tags
Unknown