[all-commits] [llvm/llvm-project] a67a21: [EarlyCSE] Add additional metadata preservation te...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 2 03:52:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a67a21bf41dadaea1ccd29775d376b459a378120
      https://github.com/llvm/llvm-project/commit/a67a21bf41dadaea1ccd29775d376b459a378120
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M llvm/test/Transforms/EarlyCSE/flags.ll

  Log Message:
  -----------
  [EarlyCSE] Add additional metadata preservation test (NFC)


  Commit: 084ca632ac81437e5517ae5933b22d2b8e9a2bcd
      https://github.com/llvm/llvm-project/commit/084ca632ac81437e5517ae5933b22d2b8e9a2bcd
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
    M llvm/test/Transforms/EarlyCSE/flags.ll

  Log Message:
  -----------
  [EarlyCSE] Only combine metadata for load CSE

There is no need to combine metadata if we're performing store to
load forwarding. In that case we would end up combining metadata
on an unrelated load instruction.


Compare: https://github.com/llvm/llvm-project/compare/7cf7ebd91701...084ca632ac81


More information about the All-commits mailing list