[all-commits] [llvm/llvm-project] 75de92: [DSE] Seperate malloc+memset -> calloc transform f...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Jan 11 12:56:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75de92d3e25c4de3b208925d23f7304cc630f588
https://github.com/llvm/llvm-project/commit/75de92d3e25c4de3b208925d23f7304cc630f588
Author: Philip Reames <listmail at philipreames.com>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Log Message:
-----------
[DSE] Seperate malloc+memset -> calloc transform from noop store dedection [NFC]
This transformation has nothing to do with whether the store is a noop. The memset becomes a noop, but only after we replace the malloc with a calloc.
More information about the All-commits
mailing list