[llvm] MachineBlockPlacement: Add tolerance to comparisons (PR #67197)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 18 14:41:48 PDT 2023


rlavaee wrote:

> I was hoping that this is mostly a drive-by change to make my live easier for #66285 I did not get around to learn abut the est-tsp code so this won't be affected by this change. It would be good to introduce an equivalent change there too at some time.
> 
> >

The question is whether we could have a better approach which covers both at the same time (IIUC, rounding handles this, but does not have the nice relativity feature that we have in your PR).

https://github.com/llvm/llvm-project/pull/67197


More information about the llvm-commits mailing list