[PATCH] D122269: Modify DXILPrepare to emit no-op bitcasts
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 16:16:14 PDT 2022
beanz created this revision.
beanz added reviewers: MaskRay, tstellar, pete, jdoerfert, sheredom, kuhar, antiagainst, nhaehnle, rnk, nikic.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.
In supporting opaque pointers we need to re-materialize typed pointers
in bitcode emission. Because of how the value-enumerator pre-allocates
types and instructions we need to insert some no-op bitcasts in the
places that we'll need bitcasts for the pointer types.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122269
Files:
llvm/lib/Target/DirectX/DXILPrepare.cpp
llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122269.417426.patch
Type: text/x-patch
Size: 7068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220322/e7831c82/attachment.bin>
More information about the llvm-commits
mailing list