[all-commits] [llvm/llvm-project] 49e928: [SCEV][NFC] Sink initialization of SymbolicMaxNotT...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Wed Dec 7 00:33:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49e928bee8812829a34730700106377b54f09923
      https://github.com/llvm/llvm-project/commit/49e928bee8812829a34730700106377b54f09923
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV][NFC] Sink initialization of SymbolicMaxNotTaken from ExitLimit constructor to its callers

Preserves current behavior (always select Exact if known, otherwise select Constant Max).
This is the final preparation step before letting each particular computation way to decide
how exactly it should be computed. Functional improvement is coming shortly as follow-up.

Differential Revision: https://reviews.llvm.org/D139402
Reviewed By: nikic, fhahn




More information about the All-commits mailing list