[PATCH] D130592: [IR] Move support for dxil::TypedPointerType to LLVM core IR.

Joshua Cranmer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 11:30:06 PDT 2022


jcranmer-intel created this revision.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: All.
jcranmer-intel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130592

Files:
  llvm/include/llvm/IR/Type.h
  llvm/include/llvm/IR/TypedPointerType.h
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/CMakeLists.txt
  llvm/lib/IR/Core.cpp
  llvm/lib/IR/LLVMContextImpl.h
  llvm/lib/IR/TypedPointerType.cpp
  llvm/lib/IR/Value.cpp
  llvm/lib/Target/DirectX/CMakeLists.txt
  llvm/lib/Target/DirectX/DXILPointerType.cpp
  llvm/lib/Target/DirectX/DXILPointerType.h
  llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
  llvm/lib/Target/DirectX/DXILWriter/DXILValueEnumerator.cpp
  llvm/lib/Target/DirectX/PointerTypeAnalysis.h
  llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130592.447775.patch
Type: text/x-patch
Size: 11788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220726/262ef073/attachment.bin>


More information about the llvm-commits mailing list