[Mlir-commits] [mlir] [mlir][dc] Fix dialect conversion drop uses (PR #86991)

Matthias Springer llvmlistbot at llvm.org
Thu Mar 28 23:27:36 PDT 2024


================
@@ -282,8 +282,10 @@ class CreateBlockRewrite : public BlockRewrite {
     block->dropAllUses();
----------------
matthias-springer wrote:

You can turn this one into `block->dropAllDefinedValueUses();` instead. `dropAllUses` is called from `dropAllDefinedValueUses`.

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


More information about the Mlir-commits mailing list