OSDN Git Service

[SVE][CodeGen] Legalisation of unpredicated store instructions
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Tue, 7 Jul 2020 10:29:12 +0000 (11:29 +0100)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Tue, 7 Jul 2020 10:47:10 +0000 (11:47 +0100)
commitcdf2eef613f7d6949e2929b316925c3553a8e3d0
tree17b5c37092fb2477f33483764784e6c978afebbe
parent2953ac0975bc7e5dbe61fbd6538f02487efa62d2
[SVE][CodeGen] Legalisation of unpredicated store instructions

Summary:
When splitting a store of a scalable type, the new address is
calculated in SplitVecOp_STORE using a vscale and an add instruction.

Reviewers: sdesmalen, efriedma, david-arm

Reviewed By: david-arm

Subscribers: tschuett, hiraditya, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83041
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/AArch64/sve-split-store.ll [new file with mode: 0644]