[PATCH] D118562: [AArch64] Allow copying of SVE registers in Streaming SVE
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 09:00:11 PST 2022
sdesmalen added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:3384
AArch64::PPRRegClass.contains(SrcReg)) {
- assert(Subtarget.hasSVE() && "Unexpected SVE register.");
+ assert((Subtarget.hasSVE() || Subtarget.hasStreamingSVE())
+ && "Unexpected SVE register.");
----------------
Can you add similar asserts for the ZPR[2,3,4]RegClass copies?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118562/new/
https://reviews.llvm.org/D118562
More information about the llvm-commits
mailing list