Index: mlir/include/mlir/IR/Attributes.h =================================================================== --- mlir/include/mlir/IR/Attributes.h +++ mlir/include/mlir/IR/Attributes.h @@ -52,7 +52,7 @@ /// with immutable, uniqued key owned by MLIRContext. As such, an Attribute is a /// thin wrapper around an underlying storage pointer. Attributes are usually /// passed by value. -class Attribute { +class alignas(8) Attribute { public: /// Utility class for implementing attributes. template