[Mlir-commits] [mlir] ee9c8b0 - Adopt Properties to store operations inherent Attributes in the X86Vector dialect

Mehdi Amini llvmlistbot at llvm.org
Mon May 15 15:36:44 PDT 2023


Author: Mehdi Amini
Date: 2023-05-15T15:36:16-07:00
New Revision: ee9c8b0d2dc3847a9b1b3045b1f76699c5e77335

URL: https://github.com/llvm/llvm-project/commit/ee9c8b0d2dc3847a9b1b3045b1f76699c5e77335
DIFF: https://github.com/llvm/llvm-project/commit/ee9c8b0d2dc3847a9b1b3045b1f76699c5e77335.diff

LOG: Adopt Properties to store operations inherent Attributes in the X86Vector dialect

This is part of an on-going migration to adopt Properties inside MLIR.

Differential Revision: https://reviews.llvm.org/D148976

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/X86Vector/X86Vector.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/X86Vector/X86Vector.td b/mlir/include/mlir/Dialect/X86Vector/X86Vector.td
index fa3f0ee0460b1..25cec8a208bc1 100644
--- a/mlir/include/mlir/Dialect/X86Vector/X86Vector.td
+++ b/mlir/include/mlir/Dialect/X86Vector/X86Vector.td
@@ -24,6 +24,7 @@ include "mlir/Dialect/LLVMIR/LLVMOpBase.td"
 def X86Vector_Dialect : Dialect {
   let name = "x86vector";
   let cppNamespace = "::mlir::x86vector";
+  let usePropertiesForAttributes = 1;
 }
 
 //===----------------------------------------------------------------------===//


        


More information about the Mlir-commits mailing list