aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDeric C. <cheung.deric@gmail.com>2025-07-22 17:08:05 -0700
committerGitHub <noreply@github.com>2025-07-22 17:08:05 -0700
commitc3c72c1de9aece0b98a6f1c62d3883dde1a50fcd (patch)
treea49202a3d9c539fe036ce628c896ce3d6a4401ba /llvm/lib/CodeGen
parent7fc65569c1d461682504a4552d872bb75b868b4f (diff)
downloadllvm-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