[all-commits] [llvm/llvm-project] bff31d: [mlir][llvm] Handle debug metadata arg lists durin...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Thu Jan 12 07:14:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bff31d0836bf2b25d6f5f899fc86f032e8ab79fc
      https://github.com/llvm/llvm-project/commit/bff31d0836bf2b25d6f5f899fc86f032e8ab79fc
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/test/Target/LLVMIR/Import/import-failure.ll

  Log Message:
  -----------
  [mlir][llvm] Handle debug metadata arg lists during LLVM IR import.

Debug intrinsics may get an argument list as first parameter. Argument
lists are metadata nodes that refer to a list of SSA values and
constant that are needed to evaluate the debug expression attached to
the intrinsic.

We do currently not model these debug expressions in MLIR. This
revision thus makes sure debug intrinsics that get an argument list
as a first parameter are dropped. It also adds a test to verify
a warning is emitted.

Reviewed By: Dinistro

Differential Revision: https://reviews.llvm.org/D141468




More information about the All-commits mailing list