[llvm] [BasicAA] Enable separate storage hints by default (PR #76864)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 12:50:06 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-analysis

Author: David Goldblatt (davidtgoldblatt)

<details>
<summary>Changes</summary>

As requested in https://github.com/llvm/llvm-project/pull/76770#pullrequestreview-1801649466

A few months of experimentation in a large codebase did not reveal any significant build speed regressions, and b07bf16 speeds up hint lookup even further.

---
Full diff: https://github.com/llvm/llvm-project/pull/76864.diff


1 Files Affected:

- (modified) llvm/lib/Analysis/BasicAliasAnalysis.cpp (+1-1) 


``````````diff
diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
index 4ad70931fd4cfd..97f60d28e49917 100644
--- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
@@ -69,7 +69,7 @@ static cl::opt<bool> EnableRecPhiAnalysis("basic-aa-recphi", cl::Hidden,
                                           cl::init(true));
 
 static cl::opt<bool> EnableSeparateStorageAnalysis("basic-aa-separate-storage",
-                                                   cl::Hidden, cl::init(false));
+                                                   cl::Hidden, cl::init(true));
 
 /// SearchLimitReached / SearchTimes shows how often the limit of
 /// to decompose GEPs is reached. It will affect the precision

``````````

</details>


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


More information about the llvm-commits mailing list