================
@@ -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