[all-commits] [llvm/llvm-project] ea7ab5: [IndVarSimplify] Notify top most loop to drop cach...

Andrew Wei via All-commits all-commits at lists.llvm.org
Wed Nov 18 23:57:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea7ab5a42cd4ab236977c4fe64768641fd506fd7
      https://github.com/llvm/llvm-project/commit/ea7ab5a42cd4ab236977c4fe64768641fd506fd7
  Author: Andrew Wei <weiwei64 at huawei.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    A llvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll

  Log Message:
  -----------
  [IndVarSimplify] Notify top most loop to drop cached exit counts

Some nested loops may share the same ExitingBB, so after we finishing FoldExit,
we need to notify OuterLoop and SCEV to drop any stored trip count.

Patched by: guopeilin
Reviewed By: mkazantsev

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




More information about the All-commits mailing list