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
[Ethos-U] Replace ethos-u.constants with AllocateConst
Previously, constants for ethos-u were tracked using a function
attribute `"ethos-u.constants"`. This predates the introduction of
`AllocateConst`, and had comments indicating that it should be
replaced with `AllocateConst` when possible.
To minimize impact to existing passes, this commit preserves the
`"ethos-u.constants"` attribute during ethosu-specific lowering
passes. The attribute is converted to `AllocateConst` at the end of
the `lower_ethosu` pass, just prior to lowering with the usual TIR
passes.
0 commit comments