llvm-project
d1a653ea - [Sparc] Fix instruction size for delay slot with UNIMP (#220955)

Commit
17 days ago
[Sparc] Fix instruction size for delay slot with UNIMP (#220955) Sparc currently reports all instructions with delay slots as having twice the size. However, there is a special case for struct returns, where there is an extra UNIMP instruction. Move needsUnimp() into SparcInstrInfo, and account for it in the instruction size calculation. Part of enabling instruction size verification by default.
Author
Parents
Loading