[llvm] [clang] [clang, SystemZ] Pass HasDef flag to getMinGlobalAlign(). (PR #73511)

Jonas Paulsson via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 13:02:46 PST 2024


================
@@ -11,6 +11,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "SystemZ.h"
+#include "clang/AST/Decl.h"
----------------
JonPsson1 wrote:

Ok, that makes more sense to me know considering different ways of building clang, thanks.

Patch updated: I tried to follow your suggestion by splitting up the work and basically inspecting the VarDecl in ASTContext and then pass only a boolean to TargetInfo.  Is this something like what you had in mind?


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


More information about the cfe-commits mailing list