[all-commits] [llvm/llvm-project] febf41: [GVN] Handle value-preserving stores in MSSA-based...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Wed Sep 23 01:25:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: febf4155e9856cca9e7719b833e365e794e225bd
      https://github.com/llvm/llvm-project/commit/febf4155e9856cca9e7719b833e365e794e225bd
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/GVN.h
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/test/Transforms/GVN/rle-clobbering-store.ll

  Log Message:
  -----------
  [GVN] Handle value-preserving stores in MSSA-based load elimination (#223793)

Following up on #68322, extend the MemorySSA-based redundant load
elimination path to recognize stores that write back a value previously
loaded from the same location. If nothing modifies the memory location
in between, such stores may be treated as non-clobbering, and the
subsequent load may be redundant.



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