[all-commits] [llvm/llvm-project] ca920b: [MLIR][Flang][DebugInfo] Set debug info format in ...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Tue Jun 11 05:12:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca920bb6285e9995f5a202d040af79363e98ab28
https://github.com/llvm/llvm-project/commit/ca920bb6285e9995f5a202d040af79363e98ab28
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)
MLIR's LLVM dialect does not internally support debug records, only
converting to/from debug intrinsics. To smooth the transition from
intrinsics to records, there is a step prior to IR->MLIR translation
that switches the IR module to intrinsic-form; this patch adds the
equivalent conversion to record-form at MLIR->IR translation, and also
modifies the flang front end to use the WriteNewDbgInfoFormat flag when
it is emitting LLVM IR.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list