[PATCH] D110021: [DSE] Re-enable calloc transformation with extra care (PR25892)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 10 07:09:07 PDT 2021


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:1862-1864
+            if (Pred != ICmpInst::ICMP_EQ || MemsetBB != FalseBB)
+              return false;
+            return true;
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110021



More information about the llvm-commits mailing list