[all-commits] [llvm/llvm-project] 593a0d: [MemorySSA] Don't verify MemorySSA unless VerifyMe...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 27 02:41:44 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 593a0dda7a683df9b3744c6391bb2f8de9ed5908
      https://github.com/llvm/llvm-project/commit/593a0dda7a683df9b3744c6391bb2f8de9ed5908
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M llvm/lib/Analysis/MemorySSA.cpp

  Log Message:
  -----------
  [MemorySSA] Don't verify MemorySSA unless VerifyMemorySSA enabled

MemorySSA is often taking up an unreasonable fraction of runtime in
assertion enabled builds. Turns out that there is one code-path that
runs verifyMemorySSA() even if VerifyMemorySSA is not enabled. This
patch makes it conditional as well.

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

(cherry picked from commit f0b57d8071853ec2ab459c0492854c67ea4fa93c)




More information about the All-commits mailing list