[llvm] [mlir] [MLIR][Analysis] Consolidate topological sort utilities (PR #92563)

Tobias Gysi via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 10:34:57 PDT 2024


================
@@ -107,14 +108,19 @@ computeDestructuringInfo(DestructurableMemorySlot &slot,
 
     // An operation that has blocking uses must be promoted. If it is not
     // promotable, destructuring must fail.
-    if (!promotable)
+    if (!promotable) {
+      // user->emitError() << "not promotable";
----------------
gysit wrote:

```suggestion
      // user->emitError() << "not promotable";
```
This and the change below look like debug leftovers?

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


More information about the llvm-commits mailing list