llvm.org GIT mirror llvm / aec199b
Revert "[GVNHoist] Re-enable GVNHoist by default" This reverts commit r338240 because it was causing OOMs on the UBSan buildbot when building clang/lib/Sema/SemaChecking.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338297 91177308-0d34-0410-b5e6-96231b3b80d8 Vlad Tsyrklevich 1 year, 1 month ago
7 changed file(s) with 16 addition(s) and 25 deletion(s). Raw diff Collapse all Expand all
173173 cl::desc("Enable the EarlyCSE w/ MemorySSA pass for the new PM (default = on)"));
174174
175175 static cl::opt EnableGVNHoist(
176 "enable-npm-gvn-hoist", cl::init(true), cl::Hidden,
177 cl::desc("Enable the GVN hoisting pass for the new PM (default = on)"));
176 "enable-npm-gvn-hoist", cl::init(false), cl::Hidden,
177 cl::desc("Enable the GVN hoisting pass for the new PM (default = off)"));
178178
179179 static cl::opt EnableGVNSink(
180180 "enable-npm-gvn-sink", cl::init(false), cl::Hidden,
134134 cl::desc("Enable the EarlyCSE w/ MemorySSA pass (default = on)"));
135135
136136 static cl::opt EnableGVNHoist(
137 "enable-gvn-hoist", cl::init(true), cl::Hidden,
138 cl::desc("Enable the GVN hoisting pass (default = on)"));
137 "enable-gvn-hoist", cl::init(false), cl::Hidden,
138 cl::desc("Enable the GVN hoisting pass (default = off)"));
139139
140140 static cl::opt
141141 DisableLibCallsShrinkWrap("disable-libcalls-shrinkwrap", cl::init(false),
120120 ; CHECK-O-NEXT: Running pass: SROA
121121 ; CHECK-O-NEXT: Running pass: EarlyCSEPass
122122 ; CHECK-O-NEXT: Running analysis: MemorySSAAnalysis
123 ; CHECK-O-NEXT: Running pass: GVNHoistPass on foo
124 ; CHECK-O-NEXT: Running analysis: PostDominatorTreeAnalysis on foo
125 ; CHECK-O-NEXT: Running analysis: MemoryDependenceAnalysis on foo
126123 ; CHECK-O-NEXT: Running pass: SpeculativeExecutionPass
127124 ; CHECK-O-NEXT: Running pass: JumpThreadingPass
128125 ; CHECK-O-NEXT: Running analysis: LazyValueAnalysis
171168 ; CHECK-O-NEXT: Finished Loop pass manager run.
172169 ; CHECK-Os-NEXT: Running pass: MergedLoadStoreMotionPass
173170 ; CHECK-Os-NEXT: Running pass: GVN
171 ; CHECK-Os-NEXT: Running analysis: MemoryDependenceAnalysis
174172 ; CHECK-Oz-NEXT: Running pass: MergedLoadStoreMotionPass
175173 ; CHECK-Oz-NEXT: Running pass: GVN
174 ; CHECK-Oz-NEXT: Running analysis: MemoryDependenceAnalysis
176175 ; CHECK-O2-NEXT: Running pass: MergedLoadStoreMotionPass
177176 ; CHECK-O2-NEXT: Running pass: GVN
177 ; CHECK-O2-NEXT: Running analysis: MemoryDependenceAnalysis
178178 ; CHECK-O3-NEXT: Running pass: MergedLoadStoreMotionPass
179179 ; CHECK-O3-NEXT: Running pass: GVN
180 ; CHECK-O3-NEXT: Running analysis: MemoryDependenceAnalysis
180181 ; CHECK-O-NEXT: Running pass: MemCpyOptPass
182 ; CHECK-O1-NEXT: Running analysis: MemoryDependenceAnalysis
181183 ; CHECK-O-NEXT: Running pass: SCCPPass
182184 ; CHECK-O-NEXT: Running pass: BDCEPass
183185 ; CHECK-O-NEXT: Running analysis: DemandedBitsAnalysis
193195 ; CHECK-O-NEXT: Finished llvm::Function pass manager run.
194196 ; CHECK-EP-SCALAR-LATE-NEXT: Running pass: NoOpFunctionPass
195197 ; CHECK-O-NEXT: Running pass: ADCEPass
198 ; CHECK-O-NEXT: Running analysis: PostDominatorTreeAnalysis
196199 ; CHECK-O-NEXT: Running pass: SimplifyCFGPass
197200 ; CHECK-O-NEXT: Running pass: InstCombinePass
198201 ; CHECK-EP-PEEPHOLE-NEXT: Running pass: NoOpFunctionPass
105105 ; CHECK-O-NEXT: Running pass: SROA
106106 ; CHECK-O-NEXT: Running pass: EarlyCSEPass
107107 ; CHECK-O-NEXT: Running analysis: MemorySSAAnalysis
108 ; CHECK-O-NEXT: Running pass: GVNHoistPass on foo
109 ; CHECK-O-NEXT: Running analysis: PostDominatorTreeAnalysis on foo
110 ; CHECK-O-NEXT: Running analysis: MemoryDependenceAnalysis on foo
111108 ; CHECK-O-NEXT: Running pass: SpeculativeExecutionPass
112109 ; CHECK-O-NEXT: Running pass: JumpThreadingPass
113110 ; CHECK-O-NEXT: Running analysis: LazyValueAnalysis
153150 ; CHECK-O-NEXT: Finished Loop pass manager run.
154151 ; CHECK-Os-NEXT: Running pass: MergedLoadStoreMotionPass
155152 ; CHECK-Os-NEXT: Running pass: GVN
153 ; CHECK-Os-NEXT: Running analysis: MemoryDependenceAnalysis
156154 ; CHECK-Oz-NEXT: Running pass: MergedLoadStoreMotionPass
157155 ; CHECK-Oz-NEXT: Running pass: GVN
156 ; CHECK-Oz-NEXT: Running analysis: MemoryDependenceAnalysis
158157 ; CHECK-O2-NEXT: Running pass: MergedLoadStoreMotionPass
159158 ; CHECK-O2-NEXT: Running pass: GVN
159 ; CHECK-O2-NEXT: Running analysis: MemoryDependenceAnalysis
160160 ; CHECK-O3-NEXT: Running pass: MergedLoadStoreMotionPass
161161 ; CHECK-O3-NEXT: Running pass: GVN
162 ; CHECK-O3-NEXT: Running analysis: MemoryDependenceAnalysis
162163 ; CHECK-O-NEXT: Running pass: MemCpyOptPass
164 ; CHECK-O1-NEXT: Running analysis: MemoryDependenceAnalysis
163165 ; CHECK-O-NEXT: Running pass: SCCPPass
164166 ; CHECK-O-NEXT: Running pass: BDCEPass
165167 ; CHECK-O-NEXT: Running analysis: DemandedBitsAnalysis
173175 ; CHECK-O-NEXT: Running pass: LCSSAPass
174176 ; CHECK-O-NEXT: Finished llvm::Function pass manager run
175177 ; CHECK-O-NEXT: Running pass: ADCEPass
178 ; CHECK-O-NEXT: Running analysis: PostDominatorTreeAnalysis
176179 ; CHECK-O-NEXT: Running pass: SimplifyCFGPass
177180 ; CHECK-O-NEXT: Running pass: InstCombinePass
178181 ; CHECK-O-NEXT: Finished llvm::Function pass manager run.
5757 ; CHECK-NEXT: Function Alias Analysis Results
5858 ; CHECK-NEXT: Memory SSA
5959 ; CHECK-NEXT: Early CSE w/ MemorySSA
60 ; CHECK-NEXT: Post-Dominator Tree Construction
61 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
62 ; CHECK-NEXT: Function Alias Analysis Results
63 ; CHECK-NEXT: Memory Dependence Analysis
64 ; CHECK-NEXT: Early GVN Hoisting of Expressions
6560 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
6661 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
6762 ; CHECK-NEXT: Function Alias Analysis Results
6060 ; CHECK-NEXT: Function Alias Analysis Results
6161 ; CHECK-NEXT: Memory SSA
6262 ; CHECK-NEXT: Early CSE w/ MemorySSA
63 ; CHECK-NEXT: Post-Dominator Tree Construction
64 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
65 ; CHECK-NEXT: Function Alias Analysis Results
66 ; CHECK-NEXT: Memory Dependence Analysis
67 ; CHECK-NEXT: Early GVN Hoist
6863 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
6964 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
7065 ; CHECK-NEXT: Function Alias Analysis Results
5757 ; CHECK-NEXT: Function Alias Analysis Results
5858 ; CHECK-NEXT: Memory SSA
5959 ; CHECK-NEXT: Early CSE w/ MemorySSA
60 ; CHECK-NEXT: Post-Dominator Tree Construction
61 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
62 ; CHECK-NEXT: Function Alias Analysis Results
63 ; CHECK-NEXT: Memory Dependence Analysis
64 ; CHECK-NEXT: Early GVN Hoisting of Expressions
6560 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
6661 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
6762 ; CHECK-NEXT: Function Alias Analysis Results