[NFC][IR] Avoid string leak with target extension types.
authorJoshua Cranmer <joshua.cranmer@intel.com>
Thu, 5 Jan 2023 21:53:29 +0000 (16:53 -0500)
committerJoshua Cranmer <joshua.cranmer@intel.com>
Thu, 5 Jan 2023 21:53:55 +0000 (16:53 -0500)
commit45d9079f7c3248b3ffb2a73a78028900737c66d3
treef6fd0afa3aa386e31a1c655a0b31421d863a57c7
parent5e8f597c2fedc740b71f07dfdb1ef3c2d348b193
[NFC][IR] Avoid string leak with target extension types.

Reviewed By: nikic, hctim

Differential Revision: https://reviews.llvm.org/D141083
llvm/include/llvm/IR/DerivedTypes.h
llvm/lib/IR/Type.cpp