[all-commits] [llvm/llvm-project] 423f08: [flang][Lower] Move getHashValue and isEqual imple...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Feb 3 07:02:24 PST 2025


  Branch: refs/heads/users/kparzysz/spr/utils-move-to-cpp
  Home:   https://github.com/llvm/llvm-project
  Commit: 423f087d20858e5dfe6eca3e632932baab78351d
      https://github.com/llvm/llvm-project/commit/423f087d20858e5dfe6eca3e632932baab78351d
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M flang/include/flang/Lower/Support/Utils.h
    M flang/lib/Lower/CMakeLists.txt
    M flang/lib/Lower/IterationSpace.cpp
    A flang/lib/Lower/Support/Utils.cpp

  Log Message:
  -----------
  [flang][Lower] Move getHashValue and isEqual implementations to Utils.cpp

This is intended to reduce the memory usage while compiling flang sources.

There were over 7500 instantiations of function templates defined in the
Utils.h file. Most of them were not referenced anywhere outside, except
for specialized implementations of getHashValue and isEqual in
IterationSpace.cpp. These function were also moved to Utils.cpp.



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