[Mlir-commits] [mlir] [MLIR][AsmParser] Fix non-deterministic SSA value completion order under LLVM_REVERSE_ITERATION (PR #192150)

Mehdi Amini llvmlistbot at llvm.org
Wed Apr 22 06:20:32 PDT 2026


================
@@ -2555,10 +2555,15 @@ ParseResult OperationParser::parseOptionalBlockArgList(Block *owner) {
 
 ParseResult OperationParser::codeCompleteSSAUse() {
   for (IsolatedSSANameScope &scope : isolatedNameScopes) {
-    for (auto &it : scope.values) {
-      if (it.second.empty())
-        continue;
-      Value frontValue = it.second.front().value;
+    // Collect and sort SSA value names for deterministic completion ordering.
----------------
joker-eph wrote:

I hope so :)

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


More information about the Mlir-commits mailing list