Skip to content

Conversation

@vporpo
Copy link
Contributor

@vporpo vporpo commented Feb 28, 2025

The vectorizer's passes should not be allowed to manually add/remove elements. This should only be done automatically by the callbacks.

The vectorizer's passes should not be allowed to manually add/remove elements.
This should only be done automatically by the callbacks.
Copy link
Collaborator

@slackito slackito left a comment

Choose a reason for hiding this comment

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

The Attorney stuff in the test looks a bit uglier now, but if it helps prevent accidental misuse I'm fine with it.

@vporpo
Copy link
Contributor Author

vporpo commented Feb 28, 2025

The Attorney stuff in the test looks a bit uglier now, but if it helps prevent accidental misuse I'm fine with it.

Yeah, not sure if there is a better way around it. There may be a way to friend the tests perhaps?

@vporpo vporpo merged commit d2cbd5f into llvm:main Feb 28, 2025
13 checks passed
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.

3 participants