[llvm] 92e211a - [BasicAA] Enable separate storage hints by default (#76864)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 12:51:45 PST 2024


Author: David Goldblatt
Date: 2024-01-03T12:51:40-08:00
New Revision: 92e211ab33417dc061bfbce910fd2c2419e11efa

URL: https://github.com/llvm/llvm-project/commit/92e211ab33417dc061bfbce910fd2c2419e11efa
DIFF: https://github.com/llvm/llvm-project/commit/92e211ab33417dc061bfbce910fd2c2419e11efa.diff

LOG: [BasicAA] Enable separate storage hints by default (#76864)

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.

Co-authored-by: David Goldblatt <davidgoldblatt at meta.com>

Added: 
    

Modified: 
    llvm/lib/Analysis/BasicAliasAnalysis.cpp

Removed: 
    


################################################################################
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


        


More information about the llvm-commits mailing list