Skip to content

Commit 8881496

Browse files
MachineUniformityAnalysis: Pass is incorrectly initialized as CFGOnly (llvm#125511)
Set CFGOnly in MachineUniformityAnalysisPass to false. If there were new registers created, uniformity analysis needs to be updated. Previously, with CFGOnly set to true, pass would be skipped if CFG was preserved.
1 parent 6c560ef commit 8881496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/MachineUniformityAnalysis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ MachineUniformityAnalysisPass::MachineUniformityAnalysisPass()
185185
}
186186

187187
INITIALIZE_PASS_BEGIN(MachineUniformityAnalysisPass, "machine-uniformity",
188-
"Machine Uniformity Info Analysis", true, true)
188+
"Machine Uniformity Info Analysis", false, true)
189189
INITIALIZE_PASS_DEPENDENCY(MachineCycleInfoWrapperPass)
190190
INITIALIZE_PASS_DEPENDENCY(MachineDominatorTreeWrapperPass)
191191
INITIALIZE_PASS_END(MachineUniformityAnalysisPass, "machine-uniformity",
192-
"Machine Uniformity Info Analysis", true, true)
192+
"Machine Uniformity Info Analysis", false, true)
193193

194194
void MachineUniformityAnalysisPass::getAnalysisUsage(AnalysisUsage &AU) const {
195195
AU.setPreservesAll();

0 commit comments

Comments
 (0)