[all-commits] [llvm/llvm-project] 8a5b6b: [flang] Use SmallPtrSet directly instead of SmallS...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Aug 20 16:30:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a5b6b302eb55e514f086ffcee3cf4f81750bb5a
      https://github.com/llvm/llvm-project/commit/8a5b6b302eb55e514f086ffcee3cf4f81750bb5a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M flang/include/flang/Lower/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/lib/Lower/PFTBuilder.cpp
    M flang/lib/Lower/Support/Utils.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.cpp

  Log Message:
  -----------
  [flang] Use SmallPtrSet directly instead of SmallSet (NFC) (#154471)

I'm trying to remove the redirection in SmallSet.h:

template <typename PointeeType, unsigned N>
class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N>
{};

to make it clear that we are using SmallPtrSet.  There are only
handful places that rely on this redirection.

This patch replaces SmallSet to SmallPtrSet where the element type is
a pointer.



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