[all-commits] [llvm/llvm-project] 8def12: [UniformityAnalysis] Use DenseSet for DivergentVal...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Mon May 27 05:11:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8def1288d226008fe7a9128f1d81d6dfa172387e
      https://github.com/llvm/llvm-project/commit/8def1288d226008fe7a9128f1d81d6dfa172387e
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M llvm/include/llvm/ADT/GenericUniformityImpl.h

  Log Message:
  -----------
  [UniformityAnalysis] Use DenseSet for DivergentValues (#93455)

Values are small, and std::set is just unnecessarily expensive. It stood
out in some quick performance profiling. DenseSet is a better
alternative in this case.



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