[llvm-branch-commits] [SPIRV] Mark NewPM Passes RequirePassInfoMixin (PR #218202)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Aug 22 22:44:11 PDT 2026


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/218202

These were converted from PassInfoMixin to OptionalPassInfoMixin when it
was originally introduced given none of these classes defined
isRequired. However, the LegacyPM versions of the passes never call
skipFunction and they are necessary for lowering, so mark them required.
This changes the behavior on the function passes. This is a no-op on the
module passes, but more clearly indicates intent.





More information about the llvm-branch-commits mailing list