[clang] [clang-tools-extra] [llvm] [MTE] Apply alignment / size in AsmPrinter rather than IR (PR #111918)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 10:13:02 PST 2024


================
@@ -808,6 +808,10 @@ void Verifier::visitGlobalValue(const GlobalValue &GV) {
           "visibility must be dso_local!",
           &GV);
 
+  if (GV.isTagged()) {
----------------
pcc wrote:

Ah okay, if it's a limitation in the existing codegen code that's fine and we can relax it later if needed.

@arichardson yes, we're aware of the reason for this restriction, the question was whether it should be enforced here as well as in the frontend.

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


More information about the llvm-commits mailing list