Skip to content
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

C++: Remove an unnecessary column #16299

Merged
merged 1 commit into from
May 8, 2024

Conversation

MathiasVP
Copy link
Contributor

@MathiasVP MathiasVP commented Apr 22, 2024

This is just a small cleanup that shouldn't have any external impact. The BaseSourceVariableInstruction column is functionally determined by the other columns, so we can simply remove it.

DCA was uneventful

@github-actions github-actions bot added the C++ label Apr 22, 2024
@MathiasVP MathiasVP force-pushed the remove-base-address-as-ipa-key branch from 41de946 to 6564582 Compare May 8, 2024 09:01
@MathiasVP MathiasVP marked this pull request as ready for review May 8, 2024 12:39
@MathiasVP MathiasVP requested a review from a team as a code owner May 8, 2024 12:39
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label May 8, 2024
Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea what's going on with "Diffed query result tuple counts" in the DCA report?

Otherwise LGTM.

TDirectDefImpl(BaseSourceVariableInstruction base, Operand address, int indirectionIndex) {
isDef(_, _, address, base, _, indirectionIndex)
TDirectDefImpl(Operand address, int indirectionIndex) {
isDef(_, _, address, _, _, indirectionIndex)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we never had two TDirectDefImpl with the same address / indirectionIndex but different bases?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. That would only be possible if an operand somehow had two base instructions. And we don't generate that kind of IR

@MathiasVP
Copy link
Contributor Author

Any idea what's going on with "Diffed query result tuple counts" in the DCA report?

Good question. I tried running both queries locally and they produce exactly the same set of results. I think it may be related to these queries on those projects generating very large bqrs files, and since the size of the bqrs file is very larg ethe Diffed query result tuple counts report may be outputting that this is interesting even though nothing has changed

@MathiasVP MathiasVP merged commit 59fb9cc into github:main May 8, 2024
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants