[all-commits] [llvm/llvm-project] 097138: [mlir] Add option to control the `emissionKind` to...

Observer007 via All-commits all-commits at lists.llvm.org
Tue Aug 27 22:32:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 097138f0ce3ac674eed7d43a627392ccc5be7bf6
      https://github.com/llvm/llvm-project/commit/097138f0ce3ac674eed7d43a627392ccc5be7bf6
  Author: Observer007 <45875558+Observer007 at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.h
    M mlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.td
    M mlir/lib/Dialect/LLVMIR/Transforms/DIScopeForLLVMFuncOp.cpp
    M mlir/test/Dialect/LLVMIR/add-debuginfo-func-scope.mlir

  Log Message:
  -----------
  [mlir] Add option to control the `emissionKind` to DIScopeForLLVMFuncOp pass (#106229)

This is currently not controllable by the user and always set to
`DIEmissionKind::LineTablesOnly`.
The added option allows to set it to the other values accepted by LLVM
(`None`, `Full`, and `DebugDirectivesOnly`).

---------

Co-authored-by: jingzec <jingzec at nvidia.com>



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