[all-commits] [llvm/llvm-project] af694c: [DSE] Use precise loc for memset_chk during overwr...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Dec 2 03:29:22 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af694c5e8d3dd3c6bf857a79b843006548c2901a
https://github.com/llvm/llvm-project/commit/af694c5e8d3dd3c6bf857a79b843006548c2901a
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-12-02 (Fri, 02 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/test/Transforms/DeadStoreElimination/libcalls-chk.ll
Log Message:
-----------
[DSE] Use precise loc for memset_chk during overwrite checks
memset_chk may not write the number of bytes specified by the third
argument, if it is larger than the destination size (specified as 4th
argument).
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D115167
More information about the All-commits
mailing list