[all-commits] [llvm/llvm-project] 2740c1: [NFC][Metadata] Refactor allocation, initalization...

Wolfgang Pieb via All-commits all-commits at lists.llvm.org
Fri May 13 16:09:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2740c1875d1c6d6b78baf4f8215e36362ca0e98c
      https://github.com/llvm/llvm-project/commit/2740c1875d1c6d6b78baf4f8215e36362ca0e98c
  Author: Wolfgang Pieb <wolfgang_pieb at playstation.sony.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M llvm/include/llvm/IR/Metadata.h
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/Metadata.cpp

  Log Message:
  -----------
  [NFC][Metadata] Refactor allocation, initalization and deletion of MDNodes.

This patch is refactoring the allocation, initialization and deletion
of MDNodes. It is intended as a preparatory patch for the upcoming
addition of dynamic resizability of MDNodes. It is fundamentally NFC,
but removes the necessity for suppressing the memory sanitizer for
MDNode's operator delete.

Reviewers: dexonsmith

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




More information about the All-commits mailing list