Issue 129121
Summary [mlir][LLVMIR] Support new debug records format
Labels mlir:llvm
Assignees
Reporter 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](https://github.com/llvm/llvm-project/blob/10a9dcab0a5904ce6c12efb3555a2e31017bce92/mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp#L59). 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: @bcardosolopes @gysit @xlauko @Dinistro 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to