diff options
author | Joshua Cranmer <joshua.cranmer@intel.com> | 2022-08-04 10:41:11 -0400 |
---|---|---|
committer | Joshua Cranmer <joshua.cranmer@intel.com> | 2022-08-04 10:41:11 -0400 |
commit | 2138c906458ed37f0f833b1c7dda1bc6c6be8236 (patch) | |
tree | 5a88fe58c8c46ff1724369d1ea3ddcc6094b4bd1 /llvm/lib/IR/LLVMContext.cpp | |
parent | 448adfee05b737a26dda34e7ae2cd4948760fff0 (diff) | |
download | llvm-2138c906458ed37f0f833b1c7dda1bc6c6be8236.zip llvm-2138c906458ed37f0f833b1c7dda1bc6c6be8236.tar.gz llvm-2138c906458ed37f0f833b1c7dda1bc6c6be8236.tar.bz2 |
[IR] Move support for dxil::TypedPointerType to LLVM core IR.
This allows the construct to be shared between different backends. However, it
still remains illegal to use TypedPointerType in LLVM IR--the type is intended
to remain an auxiliary type, not a real LLVM type. So no support is provided for
LLVM-C, nor bitcode, nor LLVM assembly (besides the bare minimum needed to make
Type->dump() work properly).
Reviewed By: beanz, nikic, aeubanks
Differential Revision: https://reviews.llvm.org/D130592
Diffstat (limited to 'llvm/lib/IR/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp index 4a1d5d3..57d7261 100644 --- a/llvm/lib/IR/LLVMContext.cpp +++ b/llvm/lib/IR/LLVMContext.cpp @@ -374,7 +374,3 @@ void LLVMContext::setOpaquePointers(bool Enable) const { bool LLVMContext::supportsTypedPointers() const { return !pImpl->getOpaquePointers(); } - -Any &LLVMContext::getTargetData() const { - return pImpl->TargetDataStorage; -} |