diff options
author | Xiang Li <python3kgae@outlook.com> | 2022-09-05 01:02:01 -0700 |
---|---|---|
committer | Xiang Li <python3kgae@outlook.com> | 2022-09-28 13:23:56 -0700 |
commit | 26129766df701d462ed9a6a9a68a88b3564a70bd (patch) | |
tree | 5c70b756360d9a5e327b03313103631f235266ee /llvm/lib/Object/ObjectFile.cpp | |
parent | f92481e79d9637949edaf0cc0c0afa2c95a04bcf (diff) | |
download | llvm-26129766df701d462ed9a6a9a68a88b3564a70bd.zip llvm-26129766df701d462ed9a6a9a68a88b3564a70bd.tar.gz llvm-26129766df701d462ed9a6a9a68a88b3564a70bd.tar.bz2 |
[DirectX backend] Support global ctor for DXILBitcodeWriter.
1. Save typed pointer type for GlobalVariable/Function instead of the ObjectType.
This will allow use GlobalVariable/Function as value.
2. Save target type for global ctors for Constant.
3. In DXILBitcodeWriter::getTypeID, check PointerMap first for Constant case.
Reviewed By: beanz
Differential Revision: https://reviews.llvm.org/D133283
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions