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

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 13 09:47:09 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f0b57d8071853ec2ab459c0492854c67ea4fa93c
      https://github.com/llvm/llvm-project/commit/f0b57d8071853ec2ab459c0492854c67ea4fa93c
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-02-13 (Thu, 13 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




More information about the All-commits mailing list