[all-commits] [llvm/llvm-project] 09d879: [SCEV] Common code for computing trip count in a f...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Apr 25 12:05:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09d879d060ed31b22a6e72f7f5e44fe9b5660aa3
      https://github.com/llvm/llvm-project/commit/09d879d060ed31b22a6e72f7f5e44fe9b5660aa3
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [SCEV] Common code for computing trip count in a fixed type [NFC-ish]

This is a follow on to D147117 and D147355. In both cases, we were adding special cases to compute zext(BTC+1) instead of zext(BTC)+1 when the BTC+1 computation was known not to overflow.

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




More information about the All-commits mailing list