You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All passes in backends/arm/_passes have been set to inherit from
`ArmPass` instead of `ExportPass`.
Furthermore, the attribute `exported_program` in `ArmPass` has been
removed to instead let each subclasses set it. The reason is that it was
type annotated as an `Optional[ExportedProgram]]` in `ArmPass` and Mypy
complained about that when a subclass tried to access it without
checking for `None`. By moving the attribute down to each subclass that
needs it, the confusion around whether the value is `None` or not is
elimininated.
Signed-off-by: Martin Lindström <[email protected]>
Change-Id: Ic73ecbeca255dfca74e23b4ce422dc06a094a058
0 commit comments