Skip to content

Prefer OptionalPassInfoMixin - #1622

Merged
rjodinchr merged 2 commits into
google:mainfrom
boomanaiden154:pass-info-mixin
Jul 28, 2026
Merged

Prefer OptionalPassInfoMixin#1622
rjodinchr merged 2 commits into
google:mainfrom
boomanaiden154:pass-info-mixin

Conversation

@boomanaiden154

Copy link
Copy Markdown
Contributor

PassInfoMixin in upstream LLVM will soon be moved to a detail namespace with users expected to use RequiredPassInfoMixin or OptionalPassInfoMixin depending upon the behavior they want. Given none of these passes explicitly set isRequired to true, move them all to OptionalPassInfoMixin.

boomanaiden154 and others added 2 commits July 27, 2026 12:19
PassInfoMixin in upstream LLVM will soon be moved to a detail namespace
with users expected to use RequiredPassInfoMixin or
OptionalPassInfoMixin depending upon the behavior they want. Given none
of these passes explicitly set isRequired to true, move them all to
OptionalPassInfoMixin.
Comment thread lib/AddFunctionAttributesPass.h Outdated
@rjodinchr
rjodinchr merged commit 0aa9274 into google:main Jul 28, 2026
18 checks passed
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.

4 participants