[all-commits] [llvm/llvm-project] cab8ba: [VPlan] Forbid CSE'ing writes (NFC) (#207443)

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Wed Jul 8 02:41:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cab8bab9642c33ea42355806730ed431d5cbf205
      https://github.com/llvm/llvm-project/commit/cab8bab9642c33ea42355806730ed431d5cbf205
  Author: Ramkumar Ramachandra <artagnon at tenstorrent.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Forbid CSE'ing writes (NFC) (#207443)

CSE'ing two identical writes does not consider the fact that there could
be another write that writes an aliasing memory location. Fix the
potential miscompile. Note that there is currently no miscompile, as we
never remove a write, but the patch has the benefit of not processing
writes unnecessarily.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list