[all-commits] [llvm/llvm-project] f8623b: [SCEV][NFC] Win some compile time from mass forget...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Mon Oct 25 00:20:39 PDT 2021


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

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

  Log Message:
  -----------
  [SCEV][NFC] Win some compile time from mass forgetMemoizedResults

Mass forgetMemoizedResults can be done more efficiently than bunch
of individual invocations of helper because we can traverse maps being
updated just once, rather than doing this for each invidivual SCEV.

Should be NFC and supposedly improves compile time.

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




More information about the All-commits mailing list