diff options
author | Joshua Cranmer <joshua.cranmer@intel.com> | 2022-12-20 11:02:11 -0500 |
---|---|---|
committer | Joshua Cranmer <joshua.cranmer@intel.com> | 2022-12-20 11:02:11 -0500 |
commit | e6b02214c68df2c9f826e02310c9352ac652e456 (patch) | |
tree | 81280c3f2a940610cd7f2e55393ac618a56c4025 /llvm/lib/IR/LLVMContextImpl.cpp | |
parent | e43924a75145d2f9e722f74b673145c3e62bfd07 (diff) | |
download | llvm-e6b02214c68df2c9f826e02310c9352ac652e456.zip llvm-e6b02214c68df2c9f826e02310c9352ac652e456.tar.gz llvm-e6b02214c68df2c9f826e02310c9352ac652e456.tar.bz2 |
[IR] Add a target extension type to LLVM.
Target-extension types represent types that need to be preserved through
optimization, but otherwise are not introspectable by target-independent
optimizations. This patch doesn't add any uses of these types by an existing
backend, it only provides basic infrastructure such that these types would work
correctly.
Reviewed By: nikic, barannikov88
Differential Revision: https://reviews.llvm.org/D135202
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp index e3917f1..cd46a04 100644 --- a/llvm/lib/IR/LLVMContextImpl.cpp +++ b/llvm/lib/IR/LLVMContextImpl.cpp @@ -113,6 +113,7 @@ LLVMContextImpl::~LLVMContextImpl() { CAZConstants.clear(); CPNConstants.clear(); + CTNConstants.clear(); UVConstants.clear(); PVConstants.clear(); IntConstants.clear(); |