[flang-commits] [flang] [mlir] Add operands to worklist when only used by deleted op (PR #86990)

via flang-commits flang-commits at lists.llvm.org
Fri Mar 29 00:37:09 PDT 2024


================
@@ -0,0 +1,60 @@
+// RUN: mlir-opt %s -test-patterns="max-iterations=1 top-down=true" \
+// RUN:     --split-input-file | FileCheck %s
+
+// Tests for https://github.com/llvm/llvm-project/issues/86765. Ensure
+// that operands of a dead op are added to the worklist even if the same value
+// appears multiple times as an operand.
+
+// -----
----------------
mlevesquedion wrote:

I actually did this on purpose to separate the file-level comment from the first test case, but I realize that's not really necessary and may look weird. Removed.

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


More information about the flang-commits mailing list