[RISCV] Handle PseudoVRELOAD and PseudoVSPILL in getInstSizeInBytes.
authorZakk Chen <zakk.chen@sifive.com>
Fri, 9 Apr 2021 13:48:29 +0000 (06:48 -0700)
committerZakk Chen <zakk.chen@sifive.com>
Tue, 20 Apr 2021 05:30:03 +0000 (22:30 -0700)
commitd5fa71e9ecc530535e48f6328490950454d086e7
treebb13a5a377e61a1a8ef8f2012750851487b0f536
parentd0774f7f0a147411bf2b0e3a692b22853f3fd3de
[RISCV] Handle PseudoVRELOAD and PseudoVSPILL in getInstSizeInBytes.

It's necessary to calculate correct instruction size because
PseudoVRELOAD and PseudoSPILL will be expanded into multiple
instructions.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D100702
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp