[Mlir-commits] [mlir] [mlir][ArmSME] Replace nested-region assertion in tile allocation with diagnostic (PR #181934)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Feb 18 00:53:17 PST 2026


================
@@ -809,7 +816,10 @@ LogicalResult mlir::arm_sme::allocateSMETiles(FunctionOpInterface function,
 
   // 2. Gather live ranges for each ArmSME tile within the function.
   Liveness liveness(function);
-  auto operationToIndexMap = generateOperationNumbering(function);
+  auto operationToIndexMapOr = generateOperationNumbering(function);
----------------
MacDue wrote:

```suggestion
  auto maybeOperationToIndexMap = generateOperationNumbering(function);
```

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


More information about the Mlir-commits mailing list