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

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 09:18:50 PDT 2025


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

----------------
artagnon wrote:

```suggestion
        Result = hash_combine(Result, RFlags->getPredicate());
    const VPRegionBlock *RepR = Def->getParent()->getParent();
    if (RepR && RepR->isReplicator())
      Result = hash_combine(Result, Def->getParent());
```

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


More information about the llvm-commits mailing list