Skip to content

Commit 9c86093

Browse files
atrosinenkoSterling-Augustine
authored andcommitted
[AArch64] Generalize the instruction size checking in AsmPrinter (llvm#110108)
Most of PAuth-related code counts the instructions being inserted and asserts that no more bytes are emitted than the size returned by the getInstSizeInBytes(MI) method. This check seems useful not only for PAuth-related instructions. Also, reimplementing it globally in AArch64AsmPrinter makes it more robust and simplifies further refactoring of PAuth-related code.
1 parent b6b2fae commit 9c86093

File tree

2 files changed

+46
-78
lines changed

2 files changed

+46
-78
lines changed

0 commit comments

Comments
 (0)