[Mlir-commits] [mlir] [mlir][Vector] Reuse args buffers in WarpOpToScfIfPattern (PR #204311)

Federico Bruzzone llvmlistbot at llvm.org
Tue Oct 13 02:28:38 PDT 2026


================
@@ -200,6 +200,58 @@ static Operation *cloneOpWithOperandsAndTypes(RewriterBase &rewriter,
 }
 
 namespace {
+/// Reuse an args buffer from `buffers` to transit a value of `targetType`, or
+/// return null if none fits.
+static Value tryReuseArgBuffer(SmallVectorImpl<std::pair<Value, bool>> &buffers,
----------------
FedericoBruzzone wrote:

Please move tryReuseArgBuffer above the anonymous namespace

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


More information about the Mlir-commits mailing list