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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab77db03ce28e86a61010e51ea13796ea09efc46
      https://github.com/llvm/llvm-project/commit/ab77db03ce28e86a61010e51ea13796ea09efc46
  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… (#125513)

….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