diff options
author | Deric C. <cheung.deric@gmail.com> | 2025-07-22 17:08:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-22 17:08:05 -0700 |
commit | c3c72c1de9aece0b98a6f1c62d3883dde1a50fcd (patch) | |
tree | a49202a3d9c539fe036ce628c896ce3d6a4401ba /llvm/lib/CodeGen | |
parent | 7fc65569c1d461682504a4552d872bb75b868b4f (diff) | |
download | llvm-c3c72c1de9aece0b98a6f1c62d3883dde1a50fcd.zip llvm-c3c72c1de9aece0b98a6f1c62d3883dde1a50fcd.tar.gz llvm-c3c72c1de9aece0b98a6f1c62d3883dde1a50fcd.tar.bz2 |
[DirectX] Legalize `llvm.lifetime.*` intrinsics in EmbedDXILPass (#150100)
Fixes #147395
This PR:
- Excludes lifetime intrinsics from the Int64Ops shader flags analysis
to match DXC behavior and pass DXIL validation.
- Performs legalization of `llvm.lifetime.*` intrinsics in the
EmbedDXILPass just before invoking the DXILBitcodeWriter.
- After invoking the DXILBitcodeWriter, all lifetime intrinsics and
associated bitcasts are removed from the module to keep the Module
Verifier happy. This is fine since lifetime intrinsics are not needed by
any passes after the EmbedDXILPass.
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions