[all-commits] [llvm/llvm-project] 864981: [NFC][MachineLICM] Use SmallDenseSet instead of Sm...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Jun 12 02:35:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 864981d72b3b4077053479def6a43b5826aea462
      https://github.com/llvm/llvm-project/commit/864981d72b3b4077053479def6a43b5826aea462
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineLICM.cpp

  Log Message:
  -----------
  [NFC][MachineLICM] Use SmallDenseSet instead of SmallSet (#95201)

All values are small so no reason to ever use SmallSet really. In large
programs we'll end up using std::set which is extremely slow compared to
DenseSet. This brings a decent speedup to the pass in large programs.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list