HomePhabricator

[RISCV] Handle PseudoVRELOAD and PseudoVSPILL in getInstSizeInBytes.

Authored by khchen on Apr 9 2021, 6:48 AM.

Description

[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