Skip to content

[mlir][LLVMIR] Support new debug records format #129121

@smeenai

Description

@smeenai

Per https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578/3, debug intrinsics support is being removed after the LLVM 20 branch cut. The LLVM IR translator relies on debug intrinsics. The comment says that "Debug records are not currently supported in the LLVM IR translator"; I'm not sure if it's just a translator issue or a broader lack of support in the LLVM IR dialect. Either way, it'll need to be fixed once LLVM no longer supports debug intrinsics. https://llvm.org/docs/RemoveDIsDebugInfo.html has an LLVM migration guide, for reference.

CCing some people I've seen working on the LLVM dialect recently or might have interest: @bcardosolopes @gysit @xlauko @Dinistro @PikachuHyA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions