2 Commits

Author SHA1 Message Date
Thirumalai Shaktivel
160da73b85
[Flang] Check if two ArrayConstructor's are Equal (#121181)
This also includes comparing the two ImpliedDo

Details
- For ArrayConstructor, check if x and y have the same
  elements and type
- For ImpliedDo, check if x and y have the same lower,
  upper, stride and values

Fixes: https://github.com/llvm/llvm-project/issues/104526
2025-02-19 15:21:31 +05:30
Krzysztof Parzyszek
ab77db03ce
[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.
2025-02-03 10:54:40 -06:00