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

Mehdi Amini llvmlistbot at llvm.org
Fri Mar 29 14:00:03 PDT 2024


================
@@ -282,8 +282,10 @@ class CreateBlockRewrite : public BlockRewrite {
     block->dropAllUses();
     if (block->getParent())
       block->erase();
-    else
+    else {
----------------
joker-eph wrote:

Nit: braces around the if when you need them for the else.

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


More information about the Mlir-commits mailing list