[all-commits] [llvm/llvm-project] 6e86b5: [SCEV] Cache folded SExt SCEV expressions.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Dec 14 03:59:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e86b544dddae043be0e896f0d5101eb9d1a89f7
      https://github.com/llvm/llvm-project/commit/6e86b544dddae043be0e896f0d5101eb9d1a89f7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Transforms/IndVarSimplify/range-iter-threshold.ll

  Log Message:
  -----------
  [SCEV] Cache folded SExt SCEV expressions.

Use FoldID to cache SignExtendExprs that get folded to a different
SCEV.

Depends on D137505.

Reviewed By: mkazantsev

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




More information about the All-commits mailing list