[PATCH] D65408: [Attributor] Heap-To-Stack Conversion

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 10:44:12 PDT 2019


sstefan1 created this revision.
sstefan1 added reviewers: jdoerfert, uenoku, hfinkel, xbolva00, efriedma.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

D53362 <https://reviews.llvm.org/D53362> gives a prototype heap-to-stack conversion pass. With addition of new attributes in the attributor, this can now be revisted and improved. This will place it in the Attributor to make it easier to use new attributes (eg. nofree, nosync, willreturn, etc.) and other attributor features.

I'm starting with some test cases (more will be added along the way). For now they are in FunctionAttrs, as most other attributor tests, but that can be changed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65408

Files:
  llvm/test/Transforms/FunctionAttrs/heap_to_stack.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65408.212196.patch
Type: text/x-patch
Size: 3141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190729/b28f97eb/attachment.bin>


More information about the llvm-commits mailing list