[llvm] [llvm][LICM] Add flag to control re-association (PR #149829)

Ricardo Jesus via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 09:30:46 PDT 2025


================
@@ -146,6 +146,11 @@ static cl::opt<unsigned> IntAssociationUpperLimit(
         "Set upper limit for the number of transformations performed "
         "during a single round of hoisting the reassociated expressions."));
 
+static cl::opt<unsigned> BOAssociationUserLimit(
----------------
rj-jesus wrote:

I think this sounds reasonable. Would it be worth adding a test?

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


More information about the llvm-commits mailing list