diff options
author | Deric C. <cheung.deric@gmail.com> | 2025-08-08 14:32:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-08 14:32:27 -0700 |
commit | e13cb3e2997968d75a93d52589d62e97ee84c630 (patch) | |
tree | 0c6e6eee90d66b3ad6b321d41c091863a897afb1 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 3cf7262876cf261b5704bcf1d70d2de13d595e15 (diff) | |
download | llvm-e13cb3e2997968d75a93d52589d62e97ee84c630.zip llvm-e13cb3e2997968d75a93d52589d62e97ee84c630.tar.gz llvm-e13cb3e2997968d75a93d52589d62e97ee84c630.tar.bz2 |
[DirectX] Update lifetime legalization to account for the removed size argument (#152791)
Fixes #152754
- Fixes the ArgOperand index in `DXILOpLowering.cpp` used to obtain the
pointer operand of a lifetime intrinsic.
- Updates the tests
`llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.5.ll`,
`llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.6.ll`,
`llvm/test/CodeGen/DirectX/ShaderFlags/lifetimes-noint64op.ll`, and
`llvm/test/tools/dxil-dis/lifetimes.ll` to use the new size-less
lifetime intrinsic
- Removes lifetime intrinsics from the test
`llvm/test/CodeGen/DirectX/legalize-memset.ll` to be consistent with the
corresponding memcpy test which does not have lifetime intrinsics.
(Removal of lifetime intrinsics from tests like this was suggested here
in the past:
https://github.com/llvm/llvm-project/pull/139173#discussion_r2091778868)
- Rewrites the lifetime legalization functions in the EmbedDXILPass to
re-add the explicit size argument for DXIL
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions