[all-commits] [llvm/llvm-project] 282324: [GVN] Fix verifyRemoved() verification

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 12 06:17:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 282324aa4a6c29d5ce31c66f8def15d9bd8e84e4
      https://github.com/llvm/llvm-project/commit/282324aa4a6c29d5ce31c66f8def15d9bd8e84e4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp

  Log Message:
  -----------
  [GVN] Fix verifyRemoved() verification

Fix the verification failure reported in
https://reviews.llvm.org/D141712#4413647. We need to remove the
load from the VN table as well, not just the leader table.

Also make sure that this verification always runs when assertions
are enabled, rather than only when -debug is passed.




More information about the All-commits mailing list