[all-commits] [llvm/llvm-project] 2bf3fe: [TRE] Allow elimination when the returned value is...

laytonio via All-commits all-commits at lists.llvm.org
Wed May 27 16:55:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bf3fe9b6dedf727990e68244a3d637518ea8bc3
      https://github.com/llvm/llvm-project/commit/2bf3fe9b6dedf727990e68244a3d637518ea8bc3
  Author: Layton Kifer <laytonkifer at gmail.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
    M llvm/test/Transforms/TailCallElim/2010-06-26-MultipleReturnValues.ll
    M llvm/test/Transforms/TailCallElim/basic.ll

  Log Message:
  -----------
  [TRE] Allow elimination when the returned value is non-constant

Currently we can only eliminate call return pairs that either return the
result of the call or a dynamic constant. This patch removes that
limitation.

Differential Revision: https://reviews.llvm.org/D79660




More information about the All-commits mailing list