[llvm] MachineBlockPlacement: Add tolerance to comparisons (PR #67197)
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 5 14:52:44 PDT 2023
================
@@ -1714,8 +1714,9 @@ MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock(
return nullptr;
bool IsEHPad = WorkList[0]->isEHPad();
+ bool ReverseOrder = IsEHPad;
----------------
MatzeB wrote:
I found this makes the code easier to understand as it makes things clear especially when not reading the long comment. But no strong opinion I can change this part back...
https://github.com/llvm/llvm-project/pull/67197
More information about the llvm-commits
mailing list