[all-commits] [llvm/llvm-project] b4130e: Correctly report Changed status in FoldBranchToCom...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Jun 29 09:14:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4130e6e99640046b60452272264823bf0f8813f
      https://github.com/llvm/llvm-project/commit/b4130e6e99640046b60452272264823bf0f8813f
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-06-29 (Mon, 29 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  Correctly report Changed status in FoldBranchToCommonDest

It's possible for the first loop trip(s) to set the `Changed` Status, and to a
later one to early exit, in which case `Changed` must be return.

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




More information about the All-commits mailing list