[llvm] [SimplifyCFG] Fix hoisting problem in SimplifyCFG (PR #78615)
Quentin Dian via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 21 05:10:08 PST 2024
================
@@ -1552,10 +1562,21 @@ bool SimplifyCFGOpt::hoistCommonCodeFromSuccessors(BasicBlock *BB,
auto *TI = BB->getTerminator();
+ SmallVector<BasicBlock *> SuccessorBlocks;
----------------
DianQK wrote:
```suggestion
SmallVector<BasicBlock *> SuccessorBBs;
```
https://github.com/llvm/llvm-project/pull/78615
More information about the llvm-commits
mailing list