[Mlir-commits] [mlir] [mlir][vector] Fix rewrite pattern API violation in `VectorToSCF` (PR #77909)
Nicolas Vasilache
llvmlistbot at llvm.org
Fri Jan 12 03:38:41 PST 2024
================
@@ -1105,17 +1105,16 @@ struct UnrollTransferReadConversion
if (xferOp.getVectorType().getElementType() !=
xferOp.getShapedType().getElementType())
return failure();
-
- auto insertOp = getInsertOp(xferOp);
- auto vec = getResultVector(xferOp, rewriter);
----------------
nicolasvasilache wrote:
can we make this more idiomatic?
```
buildResultVector(rewriter, xferOp);
```
>
https://github.com/llvm/llvm-project/pull/77909
More information about the Mlir-commits
mailing list