[PATCH] D72562: [Attributor][Fix] AAHeapToStack and AAIsDead connection

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 11 13:38:08 PST 2020


sstefan1 created this revision.
sstefan1 added reviewers: jdoerfert, uenoku, baziotis.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Since AAHeapToStack is deleting mallocs/frees AAIsDead needs to be aware
of that. For now, AANoFree uses this to deduce nofree function attribute
when a call to free is deleted.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72562

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/heap_to_stack.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72562.237520.patch
Type: text/x-patch
Size: 10995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200111/ceabae36/attachment.bin>


More information about the llvm-commits mailing list