Skip to content

Commit 710f4bd

Browse files
committed
[mlir] add missing include to MemRefTransformOps.h
The ODS-generated code has the following: ``` ::mlir::TypedValue<::mlir::transform::OperationType> getAlloca() { return ::llvm::cast<::mlir::TypedValue<::mlir::transform::OperationType>>( *getODSOperands(0).begin()); } ``` that may require the compiler seing the definition of `OperationType` so include the corresponding header.
1 parent 0ea178b commit 710f4bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define MLIR_DIALECT_MEMREF_TRANSFORMOPS_MEMREFTRANSFORMOPS_H
1111

1212
#include "mlir/Bytecode/BytecodeOpInterface.h"
13+
#include "mlir/Dialect/Transform/IR/TransformTypes.h"
1314
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
1415
#include "mlir/IR/OpImplementation.h"
1516

0 commit comments

Comments
 (0)