-
Notifications
You must be signed in to change notification settings - Fork 30
[AIEX] Simplify AIEClusterBaseAddress pass #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
andcarminati
commented
Nov 15, 2024
- Including a more generic chaining algorithm.
|
QoR results: Core Compute Cycle Count:
PM Size effect: -0.09% (basically unaffected). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit acceptance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit , since (since is a conjunctive of sub-sentences)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: whenwe, unknonw
8a8b895 to
ef3b592
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
|
Regarding the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Could those be const?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about changing this to RegToPtrAddMap getChainingCandidates(MachineBasicBlock &MBB)? This makes it clearer what comes out of this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Just RegUseMap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nit: I would rename this to e.g. collectPtrUses(), because we just collect registers used in ptr_adds, there is not extra processing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
auto RegAndUses?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to keep the previous code in that specific case: std::set<MachineBasicBlock *> ReachableMBBs = findReachableMBBs(MBB);. Reachability is different from dominance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: tied to?
ef3b592 to
8f2e71d
Compare
|
Hi @gbossu, all your comments were addressed. Thank you very much! |
* Including a more generic chaining algorithm.
8f2e71d to
d4115b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice simplification!
I'm not concerned about the Floor_aie2_0 regression, we'll recover that by using the post-pipeliner.
First batch post March 7th [Nr 0]