[llvm] [SimplifyCFG] Fix hoisting problem in SimplifyCFG (PR #78615)
Quentin Dian via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 17:33:07 PST 2024
================
@@ -1742,15 +1767,6 @@ bool SimplifyCFGOpt::hoistCommonCodeFromSuccessors(BasicBlock *BB,
continue;
}
- SmallVector<Instruction *, 8> OtherInsts;
- if (SameLevelHoist) {
----------------
DianQK wrote:
For me personally, optimization is not about fixing bugs. But others may have a different idea.
@nikic @dtcxzyw
https://github.com/llvm/llvm-project/pull/78615
More information about the llvm-commits
mailing list