[PATCH] D103009: [DSE] Transform memset + malloc --> calloc (PR25892)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 16:12:19 PDT 2021


xbolva00 added a comment.

Well, I am not sure, your code compiled with GCC will have same issue. Overallocating is also questionable - your code relies on some many things to work luckily together - not a very ideal state.

This transformation was in simplifylibcalls for very long time anyway so if anything, then postdominating check….


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103009/new/

https://reviews.llvm.org/D103009



More information about the llvm-commits mailing list