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
As a side effect of going thru Codegen_LLVM, it appears that HexagonOffload is including the standard _argv() and _metadata() functions for the HVX functions; since these get embedded in a data block, they don't ever get dead-stripped and are small-but-useless. It would be nice to tweak codegen to omit them.
EDIT: _argv() is actually needed by halide_hexagoon_run(), but the metadata isn't.
The text was updated successfully, but these errors were encountered:
steven-johnson
changed the title
HexagonOffload produces needless _argv() & _metadata() functions
HexagonOffload produces needless _metadata() function
Dec 1, 2021
As a side effect of going thru Codegen_LLVM, it appears that HexagonOffload is including the standard
_argv() and_metadata() functions for the HVX functions; since these get embedded in a data block, they don't ever get dead-stripped and are small-but-useless. It would be nice to tweak codegen to omit them.EDIT: _argv() is actually needed by halide_hexagoon_run(), but the metadata isn't.
The text was updated successfully, but these errors were encountered: