[PATCH] D81765: Don't inline dynamic allocas that simplify to huge static allocas.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 11:55:49 PDT 2020
aemerson updated this revision to Diff 273114.
aemerson added a comment.
Add tests and fix not scaling the alloc size by the type size.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81765/new/
https://reviews.llvm.org/D81765
Files:
llvm/include/llvm/Analysis/InlineCost.h
llvm/lib/Analysis/InlineCost.cpp
llvm/test/Transforms/Inline/dynamic-alloca-simplified-large.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81765.273114.patch
Type: text/x-patch
Size: 7077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200624/52fb9548/attachment.bin>
More information about the llvm-commits
mailing list