[PATCH] D81765: Don't inline dynamic allocas that simplify to huge static allocas.
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 07:26:59 PDT 2020
mtrofin added inline comments.
================
Comment at: llvm/include/llvm/Analysis/InlineCost.h:54
+/// static allocas above this amount in bytes.
+const uint64_t MaxSimplifiedDynamicAllocaToMove = 65536;
} // namespace InlineConstants
----------------
I think MaxSimplifiedDynamicAllocaToMove should be part of InlineParams, since it's a threshold.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81765/new/
https://reviews.llvm.org/D81765
More information about the llvm-commits
mailing list