[Mlir-commits] [mlir] 1d55b70 - [MLIR][GPU][XeVM] Add missing #include for standalone header build (#153532)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Aug 13 21:13:45 PDT 2025
Author: Jordan Rupprecht
Date: 2025-08-14T04:13:41Z
New Revision: 1d55b70ec3bdfda285c4e0c79ef3de41f214d271
URL: https://github.com/llvm/llvm-project/commit/1d55b70ec3bdfda285c4e0c79ef3de41f214d271
DIFF: https://github.com/llvm/llvm-project/commit/1d55b70ec3bdfda285c4e0c79ef3de41f214d271.diff
LOG: [MLIR][GPU][XeVM] Add missing #include for standalone header build (#153532)
This header uses GPUModuleOp but does not directly include the header:
`error: no type named 'GPUModuleOp' in namespace 'mlir::gpu'; did you
mean 'ModuleOp'?`
Needed for #148286
Added:
Modified:
mlir/include/mlir/Target/LLVM/XeVM/Utils.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Target/LLVM/XeVM/Utils.h b/mlir/include/mlir/Target/LLVM/XeVM/Utils.h
index 32444de0cf90c..5d523f1ec457f 100644
--- a/mlir/include/mlir/Target/LLVM/XeVM/Utils.h
+++ b/mlir/include/mlir/Target/LLVM/XeVM/Utils.h
@@ -14,6 +14,7 @@
#define MLIR_TARGET_LLVM_XEVM_UTILS_H
#include "mlir/Dialect/GPU/IR/CompilationInterfaces.h"
+#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/LLVMIR/XeVMDialect.h"
#include "mlir/IR/Attributes.h"
#include "mlir/Target/LLVM/ModuleToObject.h"
More information about the Mlir-commits
mailing list