Commit Graph

2 Commits

Author SHA1 Message Date
Xiang Li 208d0f04a6 [NFC] legalize triple for dxil tests. 2022-09-26 18:09:33 -07:00
Chris Bieneman f5d054cdc1 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
2022-05-09 13:40:47 -05:00