FoldMallocMemset can be safely removed because since https://reviews.llvm.org/D103009
such transformation is already performed in DSE.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can we cherry pick this to release-13.0/12 too since it also has the change that made the removed code in this patch obsolete in the first place?
You can leave the tests here and add a comment that this pattern is now handled by DSE in a more general way.