[llvm] [LICM] Make an integer version of hoistFPAssociation. (PR #67736)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 08:00:19 PST 2024
================
@@ -135,6 +138,12 @@ static cl::opt<unsigned> FPAssociationUpperLimit(
"Set upper limit for the number of transformations performed "
"during a single round of hoisting the reassociated expressions."));
+cl::opt<unsigned> IntAssociationUpperLimit(
+ "licm-max-num-int-reassociations", cl::init(5U), cl::Hidden,
+ cl::desc(
+ "Set upper limit for the number of transformations performed "
+ "during a single round of hoisting the reassociated expressions."));
+
----------------
paulwalker-arm wrote:
Is the type relevant to the limit? I'm not against the change just wondering if this is a compile time reduction flag whether it's worth just renaming the current one.
https://github.com/llvm/llvm-project/pull/67736
More information about the llvm-commits
mailing list