[llvm] [SCEV] Infer loop max trip count from memory accesses (PR #70361)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 15:37:49 PDT 2023
================
@@ -249,6 +249,10 @@ static cl::opt<bool> UseContextForNoWrapFlagInference(
cl::desc("Infer nuw/nsw flags using context where suitable"),
cl::init(true));
+static cl::opt<bool> UseMemoryAccessUBForBEInference(
+ "scalar-evolution-infer-max-trip-count-from-memory-access", cl::Hidden,
+ cl::desc("Infer loop max trip count from memory access"), cl::init(false));
----------------
jdoerfert wrote:
Can you check the compile time impact (via @nikic tracker) when you enable this?
https://github.com/llvm/llvm-project/pull/70361
More information about the llvm-commits
mailing list