[PATCH] D66285: [ARM] Correct register for narrowing and widening MVE loads and stores.
Oliver Stannard (Linaro) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 02:20:39 PDT 2019
ostannard added inline comments.
================
Comment at: llvm/lib/Target/ARM/Thumb2InstrInfo.cpp:656
+ if ((unsigned)Offset <= Mask * Scale &&
+ (Register::isVirtualRegister(FrameReg) ||
+ RegClass->contains(FrameReg))) {
----------------
Is it possible to get here with a virtual register of the wrong class? I think we'd need a call to `constrainRegClass` here in that case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66285/new/
https://reviews.llvm.org/D66285
More information about the llvm-commits
mailing list