[Mlir-commits] [mlir] [mlir][vector] Allow integer indices in vector.extract/insert ops (PR #115808)

Matthias Springer llvmlistbot at llvm.org
Thu Jan 9 01:27:01 PST 2025


================
@@ -142,14 +143,22 @@ void mlir::printDynamicIndexList(OpAsmPrinter &printer, Operation *op,
     scalableIndexIdx++;
   });
 
+  if (hasSameTypeDynamicValues && !valueTypes.empty()) {
+    assert(std::all_of(valueTypes.begin(), valueTypes.end(),
----------------
matthias-springer wrote:

`llvm::all_equal`

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


More information about the Mlir-commits mailing list