[llvm] [VPlan] Introduce CSE pass (PR #151872)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 04:37:16 PDT 2025
================
@@ -185,8 +185,14 @@ class LLVM_ABI_FOR_TEST VPValue {
assert(!UnderlyingVal && "Underlying Value is already set.");
UnderlyingVal = Val;
}
+
+ // Equality of data.
+ bool isIdenticalTo(const VPValue *Other) const;
};
+// Hash method for VPValue.
+hash_code hash_value(const VPValue &V);
+
----------------
fhahn wrote:
better move to only user in VPlanTransforms
https://github.com/llvm/llvm-project/pull/151872
More information about the llvm-commits
mailing list