llvm-project
1ccabb15 - [AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos

Commit
17 days ago
[AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos Refactor `AArch64AsmPrinter::emitPtrauthAuthResign` to improve readability and fix the conditions when `emitPtrauthDiscriminator` is allowed to clobber AddrDisc. * do not clobber `AUTAddrDisc` when computing `AUTDiscReg` on resigning if `AUTAddrDisc == PACAddrDisc`, as it would prevent passing raw, 64-bit value as the new discriminator * move the code computing `ShouldCheck` and `ShouldTrap` conditions to a separate function
Author
Committer
Parents
Loading