[all-commits] [llvm/llvm-project] f5d054: Modify DXILPrepare to emit no-op bitcasts
Chris B via All-commits
all-commits at lists.llvm.org
Mon May 9 11:41:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5d054cdc12ef6c94a75c42400372ad525934bca
https://github.com/llvm/llvm-project/commit/f5d054cdc12ef6c94a75c42400372ad525934bca
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M llvm/lib/Target/DirectX/DXILPrepare.cpp
A llvm/test/CodeGen/DirectX/conflicting-bitcast-insert.ll
A llvm/test/CodeGen/DirectX/omit-bitcast-insert.ll
Log Message:
-----------
Modify DXILPrepare to emit no-op bitcasts
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.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D122269
More information about the All-commits
mailing list