[llvm] [MTE] generalize overalignment / size of MTE globals (PR #121957)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 08:27:30 PST 2025


================
@@ -267,6 +267,13 @@ class GlobalVariable : public GlobalObject, public ilist_node<GlobalVariable> {
            getAttributes().hasAttribute("rodata-section");
   }
 
+  MaybeAlign getRequiredGlobalAlignment() {
----------------
jrtc27 wrote:

This is an llvm CodeGen detail, not something to expose to IR, and may vary based on the exact target and configuration.

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


More information about the llvm-commits mailing list