[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();
----------------
qedawkins wrote:

```suggestion
    Location loc = gather->getLoc();
```

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


More information about the Mlir-commits mailing list