[all-commits] [llvm/llvm-project] 8e353f: [NewGVN] Patch replacement instruction even for re...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 28 02:46:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e353fb6e96deb90a86c9cca3e022c36a668fcce
      https://github.com/llvm/llvm-project/commit/8e353fb6e96deb90a86c9cca3e022c36a668fcce
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

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

  Log Message:
  -----------
  [NewGVN] Patch replacement instruction even for removed instructions

When removing an instruction, we still need to merge its IR flags
into the leader, because there may have been a transitive use.

Fixes https://github.com/llvm/llvm-project/issues/53218.




More information about the All-commits mailing list