[llvm] [BranchRelaxation] Remove quadratic behavior in relaxation pass (PR #96250)

Daniel Hoekwater via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 10:36:36 PDT 2024


================
@@ -718,6 +734,13 @@ bool BranchRelaxation::relaxBranchInstructions() {
     }
   }
 
+  // If we relaxed a branch, subsequent block offsets may be underestimated.
----------------
dhoekwater wrote:

Fixed.

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


More information about the llvm-commits mailing list