[Mlir-commits] [mlir] [mlir] Print aliases for recursive types (PR #110346)

Shoaib Meenai llvmlistbot at llvm.org
Fri Sep 27 17:29:36 PDT 2024


================
@@ -545,6 +545,10 @@ class SymbolAlias {
   bool isType : 1;
   /// A flag indicating whether this alias may be deferred or not.
   bool isDeferrable : 1;
+
+public:
+  /// Used to avoid printing incomplete aliases for recursive types.
+  bool isPrinted = false;
----------------
smeenai wrote:

Additionally, the bitfield won't be packed on Windows anyway because the MSVC ABI only packs bitfields when all members have the same type, but I'm not sure how much MLIR cares about that.

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


More information about the Mlir-commits mailing list