Skip to content

Commit 3ab1880

Browse files
[MLIR] Remove unnecessary include from MathToEmitC.h to fix build issue (#125466)
This removes the unnecessary inclusion of mlir/Dialect/EmitC/IR/EmitC.h from MathToEmitC.h, which caused a build failure due to a missing EmitCEnums.h.inc. The include was not needed, and removing it resolves the issue without requiring additional dependencies.
1 parent 50d5d06 commit 3ab1880

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/include/mlir/Conversion/MathToEmitC/MathToEmitC.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#ifndef MLIR_CONVERSION_MATHTOEMITC_MATHTOEMITC_H
1010
#define MLIR_CONVERSION_MATHTOEMITC_MATHTOEMITC_H
11-
#include "mlir/Dialect/EmitC/IR/EmitC.h"
1211
namespace mlir {
1312
class RewritePatternSet;
1413
namespace emitc {

0 commit comments

Comments
 (0)