[llvm] [SCEV] Introduce SCEVUse, use it instead of const SCEV * (NFCI) (WIP). (PR #91961)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 6 13:03:32 PDT 2024


================
@@ -1363,8 +1458,9 @@ class ScalarEvolution {
 
     unsigned computeHash() const {
       return detail::combineHashValue(
-          C, detail::combineHashValue(reinterpret_cast<uintptr_t>(Op),
-                                      reinterpret_cast<uintptr_t>(Ty)));
+          C,
+          detail::combineHashValue(reinterpret_cast<uintptr_t>(Op.getPointer()),
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list