Skip to content

Commit 8d6d4f8

Browse files
committed
[mlir][ArmSME] Split the Op definition (nfc) (#67985)
Move the definitions of LLVM intrinsic Ops for ArmSME into a dedicated file. To facilitate this, the dialect definition together with various shared definitions are moved to ArmSME.td. This change will allow us to refactor the ArmSME dialect documentation. In particular, we will be able to categorise the Ops into "regular" and "intrinsic" ops. Also, it will be easier to add some custom documentation as opposed to relying on auto-generated docs that simply list the available Ops. The documentation will be updated in a forthcoming patch. Only non-functional changes.
1 parent b186f1f commit 8d6d4f8

File tree

8 files changed

+693
-626
lines changed

8 files changed

+693
-626
lines changed

mlir/include/mlir/Dialect/ArmSME/IR/ArmSME.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
#include "mlir/Dialect/ArmSME/IR/ArmSMEDialect.h.inc"
3030

3131
#define GET_OP_CLASSES
32-
#include "mlir/Dialect/ArmSME/IR/ArmSME.h.inc"
32+
#include "mlir/Dialect/ArmSME/IR/ArmSMEOps.h.inc"
33+
34+
#define GET_OP_CLASSES
35+
#include "mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.h.inc"
3336

3437
#endif // MLIR_DIALECT_ARMSME_IR_ARMSME_H

0 commit comments

Comments
 (0)