[llvm] [CFG] Avoid introducing complex phi when removing empty blocks (PR #104887)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 00:59:40 PDT 2024
================
@@ -1040,6 +1045,42 @@ CanRedirectPredsOfEmptyBBToSucc(BasicBlock *BB, BasicBlock *Succ,
return true;
}
+// Check whether removing BB will make the phis in its Succ will have too
----------------
nikic wrote:
```suggestion
// Check whether removing BB will make the phis in its Succ have too
```
https://github.com/llvm/llvm-project/pull/104887
More information about the llvm-commits
mailing list