[Mlir-commits] [mlir] [AMDGPU] add utils for common usage (PR #75097)

Quinn Dawkins llvmlistbot at llvm.org
Mon Dec 11 13:45:39 PST 2023


================
@@ -8,6 +8,8 @@
 
 #include "mlir/Dialect/Utils/IndexingUtils.h"
 
+#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h"
+#include "mlir/Dialect/NVGPU/Transforms/Utils.h"
----------------
qedawkins wrote:

I don't think `IndexingUtils.cpp` can take a dependency on NVGPU or Vector. I assume the portion of the helper that you want to reuse isn't specific to any NVGPU ops; maybe split out the vector and memref portions and make them available in the vector dialect, or just duplicate the portion of the helper that is needed in AMDGPU?


https://github.com/llvm/llvm-project/pull/75097


More information about the Mlir-commits mailing list