[all-commits] [llvm/llvm-project] 3c53d3: [InlineCost] Use SmallPtrSet for DeadBlocks (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 28 06:26:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c53d3a7338f5c22dd17f9d196fce164c4161ec2
      https://github.com/llvm/llvm-project/commit/3c53d3a7338f5c22dd17f9d196fce164c4161ec2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

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

  Log Message:
  -----------
  [InlineCost] Use SmallPtrSet for DeadBlocks (NFC)

This set is only used with contains operations, so there is no
need to use a SetVector.




More information about the All-commits mailing list