[PATCH] D82085: [TRE] allow TRE for non-capturing calls.

Layton Kifer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 15:35:51 PDT 2020


laytonio added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp:823
+
+bool TailRecursionEliminator::canTRE(Function &F) {
+  // The local stack holds all alloca instructions and all byval arguments.
----------------
There is no need to pass the function here since its a member variable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82085/new/

https://reviews.llvm.org/D82085





More information about the llvm-commits mailing list