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

Use TR_BitVector instead of CS2::ABitVector in TR_InterferenceGraph #5679

Merged
merged 1 commit into from Nov 20, 2020

Conversation

nbhuiyan
Copy link
Member

Some of the largest symbols in the compiler obj files originates
from TR_InterferenceGraph resulting from its use of
CS2::ABitVector, while providing no real benefits in terms
of capabilities or performance. Use of CS2::ABitVector has been
replaced with TR_BitVector in TR_InterferenceGraph, which results
in significant reduction in the size of the Compiler component's
obj files, whether it is part of a standalone OMR build or part of
a downstream project.

With this fairly small change, compiler builds will see a 41.5 KB
reduction in the on-disk size of the obj files.

Signed-off-by: Nazim Bhuiyan nubhuiyan@ibm.com

@fjeremic
Copy link
Contributor

@genie-omr build all

@nbhuiyan nbhuiyan marked this pull request as draft November 19, 2020 21:59
@nbhuiyan
Copy link
Member Author

nbhuiyan commented Nov 19, 2020

@fjeremic I just discovered that I missed some changes required for the debug build. I will notify you when that is fixed.

Some of the largest symbols in the compiler obj files originates
from TR_InterferenceGraph resulting from its use of
CS2::ABitVector, while providing no real benefits in terms
of capabilities or performance. Use of CS2::ABitVector has been
replaced with TR_BitVector in TR_InterferenceGraph, which results
in significant reduction in the size of the Compiler component's
obj files, whether it is part of a standalone OMR build or part of
a downstream project.

Signed-off-by: Nazim Bhuiyan <nubhuiyan@ibm.com>
@nbhuiyan nbhuiyan marked this pull request as ready for review November 19, 2020 22:16
@nbhuiyan
Copy link
Member Author

@fjeremic , fixed now.

@fjeremic
Copy link
Contributor

@genie-omr build all

@fjeremic fjeremic merged commit d70ced7 into eclipse:master Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants