[all-commits] [llvm/llvm-project] 26f819: [DSE] Handle inaccessiblememonly calloc
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jan 19 03:55:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 26f81984e7972c17c4e7f97b1f5a3fc2f4d76ca7
https://github.com/llvm/llvm-project/commit/26f81984e7972c17c4e7f97b1f5a3fc2f4d76ca7
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/test/Transforms/DeadStoreElimination/calloc-store.ll
M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
M llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll
Log Message:
-----------
[DSE] Handle inaccessiblememonly calloc
Change the DSE calloc handling to assume that it is
inaccessiblememonly, i.e. the defining access is liveOnEntry.
Differential Revision: https://reviews.llvm.org/D117543
Commit: 5ba73c924df895c95f895c2f00b7c8e76ca0d4a8
https://github.com/llvm/llvm-project/commit/5ba73c924df895c95f895c2f00b7c8e76ca0d4a8
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
Log Message:
-----------
[BuildLibCalls] Mark calloc as inaccessiblememonly
Now that DSE handles inaccessiblememonly calloc, mark it as such,
as we do with other memory allocation functions.
Compare: https://github.com/llvm/llvm-project/compare/903424532f0b...5ba73c924df8
More information about the All-commits
mailing list