[all-commits] [llvm/llvm-project] 7ddf77: [mlir][Transforms] Fix CSE memEffectsCache handlin...

zackc6 via All-commits all-commits at lists.llvm.org
Thu Apr 16 01:50:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ddf7719b3dfdfb7925f5ca492c3550b240b095e
      https://github.com/llvm/llvm-project/commit/7ddf7719b3dfdfb7925f5ca492c3550b240b095e
  Author: zackc6 <112835067+zackc6 at users.noreply.github.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M mlir/lib/Transforms/CSE.cpp

  Log Message:
  -----------
  [mlir][Transforms] Fix CSE memEffectsCache handling for existing entries (NFC) (#192178)

The condition on detecting cache insertion was reversed. The consequence
was that we would always go through the path of "cache hit" first, but
find that the entry was the just-inserted one and then proceed with
updating it. Subsequent attempt could go through the "cache miss" part
and the cache would never be used.



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