[all-commits] [llvm/llvm-project] d46531: [LLVM-C]Add LLVMAddMetadataToInst, deprecated LLVM...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Oct 22 03:21:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d46531567919f51ee2d165ca3dcd79c9c29eb205
      https://github.com/llvm/llvm-project/commit/d46531567919f51ee2d165ca3dcd79c9c29eb205
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp
    M llvm/tools/llvm-c-test/echo.cpp

  Log Message:
  -----------
  [LLVM-C]Add LLVMAddMetadataToInst, deprecated LLVMSetInstDebugLocation.

IRBuilder has been updated to support preserving metdata in a more
general manner. This patch adds `LLVMAddMetadataToInst` and
deprecates `LLVMSetInstDebugLocation` in favor of the more
general function.

Reviewed By: aprantl

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




More information about the All-commits mailing list