[llvm] [PAC][AArch64] Lower ptrauth constants in code (PR #94241)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 01:30:34 PDT 2024


kovdan01 wrote:

> In the IRTranslator, you build a G_PTRAUTH_GLOBAL_VALUE by hand. Would an entry to https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h simplify the build?

@tschuett I can't say that it simplifies the build, but it definitely makes things more consistent since for many opcodes there are corresponding entries in MachineIRBuilder. I've added a one for `G_PTRAUTH_GLOBAL_VALUE`, thanks for suggestion.

https://github.com/llvm/llvm-project/pull/94241


More information about the llvm-commits mailing list