[Mlir-commits] [mlir] [MLIR][XeGPU] Add unroll patterns for XeGPU (1/N) (PR #137010)
Igor Zamyatin
llvmlistbot at llvm.org
Thu May 8 14:19:27 PDT 2025
================
@@ -14,11 +14,67 @@ class RewritePatternSet;
namespace xegpu {
+/// Options to control the XeGPU unrolling. Its main purpose is to
+/// provide a way to customize the native shape of the operation.
+struct UnrollOptions {
+ using FilterConstraintFnType = std::function<LogicalResult(Operation *op)>;
+ /// Callback function that indicates whether vector unrolling should be
----------------
Garra1980 wrote:
nit: let's place this comment above "using" to have uniform look :)
https://github.com/llvm/llvm-project/pull/137010
More information about the Mlir-commits
mailing list