[all-commits] [llvm/llvm-project] a630ea: Reland [Metadata] Add a resize capability to MDNod...
Wolfgang Pieb via All-commits
all-commits at lists.llvm.org
Mon Jun 27 16:24:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a630ea3003de91152f65464ef75f592c600d5cdd
https://github.com/llvm/llvm-project/commit/a630ea3003de91152f65464ef75f592c600d5cdd
Author: Wolfgang Pieb <wolfgang_pieb at playstation.sony.com>
Date: 2022-06-27 (Mon, 27 Jun 2022)
Changed paths:
M llvm/include/llvm/IR/Metadata.h
M llvm/lib/IR/Metadata.cpp
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
Reland [Metadata] Add a resize capability to MDNodes and add a push_back interface to MDNode
Fixed a bug with double destruction of operands and corrected a test issue.
Note that this patch leads to a slight increase in compile time (I measured
about .3%) and a slight increase in memory usage. The increased memory usage
should be offset once resizing is used to a larger extent.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D125998
More information about the All-commits
mailing list