[all-commits] [llvm/llvm-project] 30c578: [GVN] Teach GVN simple masked load/store forwardin...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Fri Oct 3 02:55:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30c578a051c7842e44bdd1106fc8d46175f568cb
      https://github.com/llvm/llvm-project/commit/30c578a051c7842e44bdd1106fc8d46175f568cb
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/include/llvm/Transforms/Scalar/GVN.h
    M llvm/lib/Transforms/Scalar/GVN.cpp
    A llvm/test/Transforms/GVN/masked-load-store-no-mem-dep.ll
    M llvm/test/Transforms/GVN/masked-load-store.ll

  Log Message:
  -----------
  [GVN] Teach GVN simple masked load/store forwarding (#157689)

This patch teaches GVN how to eliminate redundant masked loads and
forward previous loads or instructions with a select. This is possible
when the same mask is used for masked stores/loads that write to the
same memory location



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