[PATCH] D79378: PR34581: Don't remove an 'if (p)' guarding a call to 'operator delete(p)' under -Oz.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 4 19:23:04 PDT 2020


rjmccall added a comment.

Is it reasonable to figure out ahead of time that we can skip the null check completely?  It'd be kindof nice to also take advantage of this at -O0 whenever we don't have real work to do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79378





More information about the cfe-commits mailing list