D94465, Function RISCVInstrInfo::getVLENFactoredAmount handles NumOfVReg.
If it's not the power of two, MUL instruction needs two virtual registers (SizeOfVector and VN).
So, two emergency stack slots may be needed for the RegScavenger.
Details
Details
- Reviewers
HsiangKai
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
clang-format: please reformat the code