aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorDeric C. <cheung.deric@gmail.com>2025-08-08 14:32:27 -0700
committerGitHub <noreply@github.com>2025-08-08 14:32:27 -0700
commite13cb3e2997968d75a93d52589d62e97ee84c630 (patch)
tree0c6e6eee90d66b3ad6b321d41c091863a897afb1 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parent3cf7262876cf261b5704bcf1d70d2de13d595e15 (diff)
downloadllvm-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