[Mlir-commits] [mlir] [mlir][ArmSME] Support vertical layout in load and store ops (PR #66758)

Cullen Rhodes llvmlistbot at llvm.org
Wed Sep 20 02:45:38 PDT 2023


================
@@ -4,3 +4,10 @@ add_mlir_doc(ArmSME ArmSME Dialects/ -gen-dialect-doc -dialect=arm_sme)
 set(LLVM_TARGET_DEFINITIONS ArmSME.td)
 mlir_tablegen(ArmSMEConversions.inc -gen-llvmir-conversions)
 add_public_tablegen_target(MLIRArmSMEConversionsIncGen)
+
+mlir_tablegen(ArmSMEEnums.h.inc -gen-enum-decls)
+mlir_tablegen(ArmSMEEnums.cpp.inc -gen-enum-defs)
+mlir_tablegen(ArmSMEAttrDefs.h.inc -gen-attrdef-decls -attrdefs-dialect=arm_sme)
+mlir_tablegen(ArmSMEAttrDefs.cpp.inc -gen-attrdef-defs -attrdefs-dialect=arm_sme)
+add_public_tablegen_target(MLIRArmSMEEnumsIncGen)
+add_dependencies(mlir-headers MLIRArmSMEEnumsIncGen)
----------------
c-rhodes wrote:

this is for the attribute, see: https://mlir.llvm.org/docs/DefiningDialects/AttributesAndTypes/#cmake-targets

It seems just `add_public_tablegen_target(MLIRArmSMEAttrDefsIncGen)` works tho so replaced bottom two lines with that.

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


More information about the Mlir-commits mailing list