[all-commits] [llvm/llvm-project] 49aa37: [GlobalOpt] Ignore only loaded / only stored globa...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 27 05:58:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49aa3777f891bebdde295853f2b0f4a0b78ab311
      https://github.com/llvm/llvm-project/commit/49aa3777f891bebdde295853f2b0f4a0b78ab311
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/test/Transforms/GlobalOpt/sra-many-stores.ll

  Log Message:
  -----------
  [GlobalOpt] Ignore only loaded / only stored global parts in global SRA heuristic

When limiting the number of parts we split a global into, ignore
any parts that are either only loaded or only stored, because we
expect these to be optimized away after SRA.

Differential Revision: https://reviews.llvm.org/D129857




More information about the All-commits mailing list