Skip to content

Track MLIR source locations from the AST in the Slang frontend #559

Description

@abinavpp

Every op is emitted with Location::unknown (see the TODO in solx-mlir's Context::location). Wire slang node locations into op emission so IR dumps and diagnostics carry provenance, like the C++ frontend's getLoc(node).

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