[all-commits] [llvm/llvm-project] a6096b: [SCEV][NFC] Introduce API for mass forgetMemoizedR...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Sun Oct 24 23:49:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6096b7f9ed36ccd8e8670fa1e5898b3ef271f1f
      https://github.com/llvm/llvm-project/commit/a6096b7f9ed36ccd8e8670fa1e5898b3ef271f1f
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

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

  Log Message:
  -----------
  [SCEV][NFC] Introduce API for mass forgetMemoizedResults query

This patch changes signature of forgetMemoizedResults to be able to work with
multiple SCEVs. Usage will come in follow-ups. We also plan to optimize it in the
future to work faster than individual invalidation updates. Should not change
behavior in any sense.

Split-off from D111602.

Differential Revision: https://reviews.llvm.org/D112293
Reviewed By: reames




More information about the All-commits mailing list