Skip to content

[SYCL][NFC] Make all of the Util::isNNNType functions auto-canonicalize #3916

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

erichkeane
Copy link
Contributor

We only really care about picking up the record-decl that the type
refers to, so we should just remove specifiers/qualifiers for all calls.

We only really care about picking up the record-decl that the type
refers to, so we should just remove specifiers/qualifiers for all calls.
@bader bader changed the title [SYCL][NFC] make all of the Util::isNNNType functions auto-canonicalize [SYCL][NFC] Make all of the Util::isNNNType functions auto-canonicalize Jun 10, 2021
Copy link
Contributor

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

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

I think the changes are sensible but I wonder if there's any test coverage we can add to show that this corrects a bug somewhere?

erichkeane pushed a commit to erichkeane/llvm that referenced this pull request Jun 10, 2021
@erichkeane
Copy link
Contributor Author

I tried in a few places and couldn't come up with a reproducer that counts on this, I suspect that something somewhere else must be canonicalizing in a way that I don't see. Even the patch that precipitated this doesn't have this problem as far as I can tell (I think I left it in during debugging?).

@erichkeane erichkeane closed this Jun 10, 2021
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.

3 participants