[all-commits] [llvm/llvm-project] 2baabd: [LoopPredication][NFCI] Perform 'visited' check be...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Wed Nov 2 04:04:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2baabd2c19ee972926a96fa01838ccb7901cac32
      https://github.com/llvm/llvm-project/commit/2baabd2c19ee972926a96fa01838ccb7901cac32
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp

  Log Message:
  -----------
  [LoopPredication][NFCI] Perform 'visited' check before pushing to worklist

This prevents duplicates to be pushed into the stack and hypothetically
should reduce memory footprint on ugly cornercases with multiple repeating
duplicates in 'and' tree.




More information about the All-commits mailing list