[llvm] [BranchRelaxation] Remove quadratic behavior in relaxation pass (PR #96250)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 17:27:11 PDT 2024
================
@@ -718,6 +734,13 @@ bool BranchRelaxation::relaxBranchInstructions() {
}
}
+ // If we relaxed a branch, subsequent block offsets may be underestimated.
----------------
minglotus-6 wrote:
nit: Call out explicitly that `adjustBlockOffsets run over all MBBs if any BB is relaxed`
https://github.com/llvm/llvm-project/pull/96250
More information about the llvm-commits
mailing list