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

[SDAG] Handle range attribute for call instructions. #108410

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andjo403
Copy link
Contributor

Possible way to handle range attribute on Intrinsic in SDAG by creating a MDNode when needed instead of adding a constRange to MachineMemOperand to save memory.

There is no test that have ranges on the Intrinsic where getRangeMetadata is called and I can not find that the range is used for any of the Intrinsics so alternative is to not handle range attribute on them until there is a usage.

@andjo403
Copy link
Contributor Author

@nikic Do you think that we shall do something like this or leave it until there is a usage for the range?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant