Skip to content

[SYCL] Store the constant expression value into the ConstantExpr object. #3202

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

Closed
wants to merge 1 commit into from

Conversation

AaronBallman
Copy link
Contributor

This appears to be an oversight from the community changes made in
https://reviews.llvm.org/D63376, where we would calculate the constant
expression value but failed to store it into the ConstantExpr object.

I am also making similar changes upstream, but this functionality is needed
by #3169.

This appears to be an oversight from the community changes made in
https://reviews.llvm.org/D63376, where we would calculate the constant
expression value but failed to store it into the ConstantExpr object.
@AaronBallman
Copy link
Contributor Author

FWIW, I'm definitely not fixing any formatting errors in the AST dumping test files. Many of those are whitespace sensitive and trying to reformat those files would be risky and likely to cause merge conflicts with upstream. I'm uncertain of how to convey this to the CI system though.

@bader
Copy link
Contributor

bader commented Feb 11, 2021

@AaronBallman, feel free to ignore clang-format-check. I haven't disable it for clang tests yet.

@AaronBallman
Copy link
Contributor Author

@AaronBallman, feel free to ignore clang-format-check. I haven't disable it for clang tests yet.

LoL, I like how we both had the same opinion at the same time on that. :-D

@AaronBallman
Copy link
Contributor Author

Closing this PR as it sounds like we'd prefer to land this upstream and then cherry-pick the changes to SYCL.

@AaronBallman AaronBallman deleted the keep-constexpr-val branch February 11, 2021 15:20
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.

2 participants