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

Matthias Springer via flang-commits flang-commits at lists.llvm.org
Thu Mar 28 23:49:49 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.
+
+// -----
----------------
matthias-springer wrote:

nit: Doesn't really matter, but this `-----` is not needed and will cause `mlir-opt` to process an "empty" test (which has just the comment).


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


More information about the flang-commits mailing list