[Mlir-commits] [mlir] [mlir][vector] Decouple unrolling gather and gather to llvm lowering (PR #132206)
Quinn Dawkins
llvmlistbot at llvm.org
Thu Mar 20 10:19:36 PDT 2025
================
@@ -269,49 +269,32 @@ class VectorGatherOpConversion
if (failed(isMemRefTypeSupported(memRefType, *this->getTypeConverter())))
return failure();
+ VectorType vType = gather.getVectorType();
+ if (vType.getRank() > 1)
+ return failure();
+
auto loc = gather->getLoc();
// Resolve alignment.
unsigned align;
if (failed(getMemRefAlignment(*getTypeConverter(), memRefType, align)))
return failure();
+ // Resolve address.
----------------
qedawkins wrote:
If I'm reading the code right,
```suggestion
// Resolve base address.
```
https://github.com/llvm/llvm-project/pull/132206
More information about the Mlir-commits
mailing list