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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 01:56:26 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()),
----------------
nikic wrote:

Shouldn't this be getRawPointer()?

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


More information about the llvm-commits mailing list