[PATCH] D61461: When removing inalloca, convert to static alloca

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 13:50:03 PDT 2019


inglorion created this revision.
inglorion added reviewers: rnk, efriedma.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Since r359743, we remove inalloca from functions that don't need
it. This change optimizes the affected allocas by turning them
into static allocas.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61461

Files:
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/test/Transforms/GlobalOpt/inalloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61461.197857.patch
Type: text/x-patch
Size: 6969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190502/d5238f6b/attachment.bin>


More information about the llvm-commits mailing list