This patch splits the Attributor::run() function into multiple functions.
Simple Logic changes to make this possible:
- Moved iteration count verification earlier.
- NumFinalAAs get set a little bit later.
Paths
| Differential D81022
[Attributor] Split the Attributor::run() into multiple functions. ClosedPublic Authored by kuter on Jun 2 2020, 11:21 AM.
Details Summary This patch splits the Attributor::run() function into multiple functions. Simple Logic changes to make this possible:
Diff Detail
Event TimelineComment Actions Nice cleanup. I basically have only comments on the documentation.
This revision is now accepted and ready to land.Jun 4 2020, 6:48 PM Closed by commit rG0ee47cc92f51: [Attributor] Split the Attributor::run() into multiple functions. (authored by sstefan1). · Explain WhyJun 10 2020, 3:14 AM This revision was automatically updated to reflect the committed changes. Comment Actions
Forgot to change the author...sorry for the mess. Comment Actions
Happens. No worries and thanks for helping out!
Revision Contents
Diff 269777 llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
|
I find the name of this not convincing. Maybe, runTillFixpoint or something along those lines?
The documentation should also be a bit more descriptive, e.g., in case of a time out of what? At the same time we don't need to talk about the dep graph but could just say, "on attributes that haven't reached a known valid fixpoint yet".