[PATCH] D99135: [deref] Implement initial set of inference rules for deref-at-point

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 16:10:53 PDT 2021


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

LGTM



================
Comment at: llvm/lib/IR/Value.cpp:738
+  // Cases that can simply never be deallocated
+  // *) Constants aren't allocated per se, thus not deallocated either.
+  if (isa<Constant>(V))
----------------
Probably doesn't make sense to keep this as a bullet point list if there's only the one element :)


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

https://reviews.llvm.org/D99135



More information about the llvm-commits mailing list