Skip to content

HexagonOffload produces needless _metadata() function #6452

@steven-johnson

Description

@steven-johnson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions