[all-commits] [llvm/llvm-project] 04d413: Support converting pointers from opaque to typed
Chris B via All-commits
all-commits at lists.llvm.org
Mon Jun 6 09:40:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04d4130a513783eecbec426c8151c1d2fe086430
https://github.com/llvm/llvm-project/commit/04d4130a513783eecbec426c8151c1d2fe086430
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2022-06-06 (Mon, 06 Jun 2022)
Changed paths:
M llvm/lib/Target/DirectX/DXILPrepare.cpp
M llvm/lib/Target/DirectX/DXILWriter/CMakeLists.txt
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILValueEnumerator.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILValueEnumerator.h
A llvm/test/tools/dxil-dis/opaque-gep.ll
A llvm/test/tools/dxil-dis/opaque-pointers.ll
Log Message:
-----------
Support converting pointers from opaque to typed
Using the pointer type analysis we can re-constitute typed pointers and
populate the correct types in the bitcasts throughout the IR.
This doesn't yet handle all cases, but this should be illustrative as
to the dirction and feasability of
the solution.
Reviewed By: pete
Differential Revision: https://reviews.llvm.org/D122270
More information about the All-commits
mailing list