llvm.org GIT mirror llvm / e01f3f0
Revert r340922 "[GVNHoist] Re-enable GVNHoist by default" Another sanitizer buildbot failed this time at bootstrap when compiling SemaTemplateInstantiate.cpp with this assertion: `dominates(MD, U) && "Memory Def does not dominate it's uses"'. http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/15047 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340925 91177308-0d34-0410-b5e6-96231b3b80d8 Alexandros Lamprineas 1 year, 2 months ago
7 changed file(s) with 26 addition(s) and 30 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
126 ; CHECK-O-NEXT: Running analysis: PhiValuesAnalysis on foo
127123 ; CHECK-O-NEXT: Running pass: SpeculativeExecutionPass
128124 ; CHECK-O-NEXT: Running pass: JumpThreadingPass
129125 ; CHECK-O-NEXT: Running analysis: LazyValueAnalysis
172168 ; CHECK-O-NEXT: Finished Loop pass manager run.
173169 ; CHECK-Os-NEXT: Running pass: MergedLoadStoreMotionPass
174170 ; CHECK-Os-NEXT: Running pass: GVN
171 ; CHECK-Os-NEXT: Running analysis: MemoryDependenceAnalysis
172 ; CHECK-Os-NEXT: Running analysis: PhiValuesAnalysis
175173 ; CHECK-Oz-NEXT: Running pass: MergedLoadStoreMotionPass
176174 ; CHECK-Oz-NEXT: Running pass: GVN
175 ; CHECK-Oz-NEXT: Running analysis: MemoryDependenceAnalysis
176 ; CHECK-Oz-NEXT: Running analysis: PhiValuesAnalysis
177177 ; CHECK-O2-NEXT: Running pass: MergedLoadStoreMotionPass
178178 ; CHECK-O2-NEXT: Running pass: GVN
179 ; CHECK-O2-NEXT: Running analysis: MemoryDependenceAnalysis
180 ; CHECK-O2-NEXT: Running analysis: PhiValuesAnalysis
179181 ; CHECK-O3-NEXT: Running pass: MergedLoadStoreMotionPass
180182 ; CHECK-O3-NEXT: Running pass: GVN
183 ; CHECK-O3-NEXT: Running analysis: MemoryDependenceAnalysis
184 ; CHECK-O3-NEXT: Running analysis: PhiValuesAnalysis
181185 ; CHECK-O-NEXT: Running pass: MemCpyOptPass
186 ; CHECK-O1-NEXT: Running analysis: MemoryDependenceAnalysis
187 ; CHECK-O1-NEXT: Running analysis: PhiValuesAnalysis
182188 ; CHECK-O-NEXT: Running pass: SCCPPass
183189 ; CHECK-O-NEXT: Running pass: BDCEPass
184190 ; CHECK-O-NEXT: Running analysis: DemandedBitsAnalysis
194200 ; CHECK-O-NEXT: Finished llvm::Function pass manager run.
195201 ; CHECK-EP-SCALAR-LATE-NEXT: Running pass: NoOpFunctionPass
196202 ; CHECK-O-NEXT: Running pass: ADCEPass
203 ; CHECK-O-NEXT: Running analysis: PostDominatorTreeAnalysis
197204 ; CHECK-O-NEXT: Running pass: SimplifyCFGPass
198205 ; CHECK-O-NEXT: Running pass: InstCombinePass
199206 ; 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
111 ; CHECK-O-NEXT: Running analysis: PhiValuesAnalysis on foo
112108 ; CHECK-O-NEXT: Running pass: SpeculativeExecutionPass
113109 ; CHECK-O-NEXT: Running pass: JumpThreadingPass
114110 ; CHECK-O-NEXT: Running analysis: LazyValueAnalysis
154150 ; CHECK-O-NEXT: Finished Loop pass manager run.
155151 ; CHECK-Os-NEXT: Running pass: MergedLoadStoreMotionPass
156152 ; CHECK-Os-NEXT: Running pass: GVN
153 ; CHECK-Os-NEXT: Running analysis: MemoryDependenceAnalysis
154 ; CHECK-Os-NEXT: Running analysis: PhiValuesAnalysis
157155 ; CHECK-Oz-NEXT: Running pass: MergedLoadStoreMotionPass
158156 ; CHECK-Oz-NEXT: Running pass: GVN
157 ; CHECK-Oz-NEXT: Running analysis: MemoryDependenceAnalysis
158 ; CHECK-Oz-NEXT: Running analysis: PhiValuesAnalysis
159159 ; CHECK-O2-NEXT: Running pass: MergedLoadStoreMotionPass
160160 ; CHECK-O2-NEXT: Running pass: GVN
161 ; CHECK-O2-NEXT: Running analysis: MemoryDependenceAnalysis
162 ; CHECK-O2-NEXT: Running analysis: PhiValuesAnalysis
161163 ; CHECK-O3-NEXT: Running pass: MergedLoadStoreMotionPass
162164 ; CHECK-O3-NEXT: Running pass: GVN
165 ; CHECK-O3-NEXT: Running analysis: MemoryDependenceAnalysis
166 ; CHECK-O3-NEXT: Running analysis: PhiValuesAnalysis
163167 ; CHECK-O-NEXT: Running pass: MemCpyOptPass
168 ; CHECK-O1-NEXT: Running analysis: MemoryDependenceAnalysis
169 ; CHECK-O1-NEXT: Running analysis: PhiValuesAnalysis
164170 ; CHECK-O-NEXT: Running pass: SCCPPass
165171 ; CHECK-O-NEXT: Running pass: BDCEPass
166172 ; CHECK-O-NEXT: Running analysis: DemandedBitsAnalysis
174180 ; CHECK-O-NEXT: Running pass: LCSSAPass
175181 ; CHECK-O-NEXT: Finished llvm::Function pass manager run
176182 ; CHECK-O-NEXT: Running pass: ADCEPass
183 ; CHECK-O-NEXT: Running analysis: PostDominatorTreeAnalysis
177184 ; CHECK-O-NEXT: Running pass: SimplifyCFGPass
178185 ; CHECK-O-NEXT: Running pass: InstCombinePass
179186 ; CHECK-O-NEXT: Finished llvm::Function pass manager run.
5858 ; CHECK-NEXT: Function Alias Analysis Results
5959 ; CHECK-NEXT: Memory SSA
6060 ; CHECK-NEXT: Early CSE w/ MemorySSA
61 ; CHECK-NEXT: Post-Dominator Tree Construction
62 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
63 ; CHECK-NEXT: Function Alias Analysis Results
64 ; CHECK-NEXT: Phi Values Analysis
65 ; CHECK-NEXT: Memory Dependence Analysis
66 ; CHECK-NEXT: Early GVN Hoisting of Expressions
6761 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
6862 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
6963 ; CHECK-NEXT: Function Alias Analysis Results
6161 ; CHECK-NEXT: Function Alias Analysis Results
6262 ; CHECK-NEXT: Memory SSA
6363 ; CHECK-NEXT: Early CSE w/ MemorySSA
64 ; CHECK-NEXT: Post-Dominator Tree Construction
65 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
66 ; CHECK-NEXT: Function Alias Analysis Results
67 ; CHECK-NEXT: Phi Values Analysis
68 ; CHECK-NEXT: Memory Dependence Analysis
69 ; CHECK-NEXT: Early GVN Hoisting of Expressions
7064 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
7165 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
7266 ; CHECK-NEXT: Function Alias Analysis Results
5858 ; CHECK-NEXT: Function Alias Analysis Results
5959 ; CHECK-NEXT: Memory SSA
6060 ; CHECK-NEXT: Early CSE w/ MemorySSA
61 ; CHECK-NEXT: Post-Dominator Tree Construction
62 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
63 ; CHECK-NEXT: Function Alias Analysis Results
64 ; CHECK-NEXT: Phi Values Analysis
65 ; CHECK-NEXT: Memory Dependence Analysis
66 ; CHECK-NEXT: Early GVN Hoisting of Expressions
6761 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
6862 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
6963 ; CHECK-NEXT: Function Alias Analysis Results