[all-commits] [llvm/llvm-project] e81819: [DSE] Eliminate zero memset after calloc
Dávid Bolvanský via All-commits
all-commits at lists.llvm.org
Tue Apr 27 18:32:05 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e81819377ececef53d3e90743eeb44e6a089b65a
https://github.com/llvm/llvm-project/commit/e81819377ececef53d3e90743eeb44e6a089b65a
Author: Dávid Bolvanský <david.bolvansky at gmail.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
Log Message:
-----------
[DSE] Eliminate zero memset after calloc
Solves PR11896
As noted, this can be improved futher (calloc -> malloc) in some cases. But for know, this is the first step.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D101391
More information about the All-commits
mailing list