[all-commits] [llvm/llvm-project] 491ac2: [LoopFlatten] Use SCEV and Loop APIs to identify i...

RosieSumpter via All-commits all-commits at lists.llvm.org
Tue Jul 27 01:02:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 491ac2802805f65c0960ae6685f9599048517a97
      https://github.com/llvm/llvm-project/commit/491ac2802805f65c0960ae6685f9599048517a97
  Author: Rosie Sumpter <rosie.sumpter at arm.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll

  Log Message:
  -----------
  [LoopFlatten] Use SCEV and Loop APIs to identify increment and trip count

Replace pattern-matching with existing SCEV and Loop APIs as a more
robust way of identifying the loop increment and trip count. Also
rename 'Limit' as 'TripCount' to be consistent with terminology.

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




More information about the All-commits mailing list