[llvm] [VPlan] Be more careful with CSE in replicate regions. (PR #162110)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 19 14:40:57 PDT 2025


================

----------------
fhahn wrote:

Hm, I might be missing exactly the case you are worried about, in general having a hash function that returns the same hash for elements that do not match should be fine (hence the check for equality) ; this should allow the implementation to skip computing extra info to include in the hash, if the extra info is unlikely to cause collisions frequently in practice.

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


More information about the llvm-commits mailing list