tschuett 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? https://github.com/llvm/llvm-project/pull/94241