[all-commits] [llvm/llvm-project] 699add: [AMDGPU] Use verify<domtree> instead of intra-pass...

Pravin Jagtap via All-commits all-commits at lists.llvm.org
Tue Jun 20 06:53:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 699addeff03515928b5e655b45199cda172a7893
      https://github.com/llvm/llvm-project/commit/699addeff03515928b5e655b45199cda172a7893
  Author: Pravin Jagtap <Pravin.Jagtap at amd.com>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll

  Log Message:
  -----------
  [AMDGPU] Use verify<domtree> instead of intra-pass asserts.

Verifying dominator tree is expensive using intra-pass
asserts. Asserts added during D147408 are
increasing the build time of libc significantly. This change
does the verification after the atomic optimizer pass
and should fix the regression reported in D153232.

Reviewed By: arsenm, #amdgpu

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




More information about the All-commits mailing list