[all-commits] [llvm/llvm-project] 0ab6b2: [MLIR] Add DIExpression to LLVM dialect (#72462)

Billy Zhu via All-commits all-commits at lists.llvm.org
Thu Nov 16 11:32:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ab6b20c36ab90395a60b6ff109207c1eb5436f1
      https://github.com/llvm/llvm-project/commit/0ab6b20c36ab90395a60b6ff109207c1eb5436f1
  Author: Billy Zhu <zyx.billy at gmail.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Dialect/LLVMIR/debuginfo.mlir
    M mlir/test/Target/LLVMIR/Import/debug-info.ll
    M mlir/test/Target/LLVMIR/Import/import-failure.ll
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir
    M mlir/test/mlir-translate/import-diagnostics.ll

  Log Message:
  -----------
  [MLIR] Add DIExpression to LLVM dialect (#72462)

Add initial support for DIExpression in LLVM dialect.

Similar to LLVM IR, DI Expression is encoded as a list of uint64. The
difference is that LLVM IR has helpers for understanding the expression
(e.g. for verification and pretty printing), whereas the current support
added by this PR treats the expression elements as opaque.




More information about the All-commits mailing list