[PATCH] D117356: InstructionCombining: avoid eliding mismatched alloc/free pairs

Augie Fackler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 14:34:50 PST 2022


durin42 updated this revision to Diff 400150.
durin42 added a comment.

Fixed `new-delete-itanium.ll` failure. Several comments in the free function list were incorrect and it didn't matter until now. Fixed that while I'm here.

That could just as easily be part of the previous patch if people prefer - please let me know if that's the case.


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

https://reviews.llvm.org/D117356

Files:
  llvm/include/llvm/Analysis/MemoryBuiltins.h
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/malloc-free-mismatched.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117356.400150.patch
Type: text/x-patch
Size: 19928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/4b0a596f/attachment.bin>


More information about the llvm-commits mailing list