From 01c6223166f47812e9f6c593342a858401f25220 Mon Sep 17 00:00:00 2001 From: jumerckx Date: Tue, 19 Nov 2024 16:45:54 +0100 Subject: [PATCH] Reorder generated code for Attributes, Enums, Types and Operations --- enzyme/Enzyme/MLIR/Dialect/Ops.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/enzyme/Enzyme/MLIR/Dialect/Ops.h b/enzyme/Enzyme/MLIR/Dialect/Ops.h index 11aaa5f4291f..e0f0dd44ff75 100644 --- a/enzyme/Enzyme/MLIR/Dialect/Ops.h +++ b/enzyme/Enzyme/MLIR/Dialect/Ops.h @@ -18,15 +18,18 @@ #include "mlir/Bytecode/BytecodeOpInterface.h" -#define GET_OP_CLASSES -#include "Dialect/EnzymeOps.h.inc" -#define GET_TYPEDEF_CLASSES -#include "Dialect/EnzymeOpsTypes.h.inc" -// #include "Dialect/EnzymeTypes.h.inc" - #include "Dialect/EnzymeEnums.h.inc" #define GET_ATTRDEF_CLASSES #include "Dialect/EnzymeAttributes.h.inc" +#define GET_TYPEDEF_CLASSES +#include "Dialect/EnzymeOpsTypes.h.inc" + +#define GET_OP_CLASSES +#include "Dialect/EnzymeOps.h.inc" + +// #include "Dialect/EnzymeTypes.h.inc" + + #endif // ENZYMEOPS_H