[flang-commits] [flang] [flang][Lower] Move getHashValue and isEqual implementations to Utils… (PR #125513)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Mon Feb 3 07:26:23 PST 2025


================
@@ -14,13 +14,13 @@
 #define FORTRAN_LOWER_SUPPORT_UTILS_H
 
 #include "flang/Common/indirection.h"
+#include "flang/Lower/IterationSpace.h"
----------------
kparzysz wrote:

In IterationSpace.cpp there were two more function `getHashValue` and `isEqual` for data types defined in IterationSpace.h.  Their implementations relied on some of the instantiations that are now moved out of the Utils.h header.  I moved these functions to Utils.cpp, but I had to export the headers in Utils.h, and the headers were using data types defined in IterationSpace.h.  Hence the #include.

https://github.com/llvm/llvm-project/pull/125513


More information about the flang-commits mailing list