[all-commits] [llvm/llvm-project] 2f1531: [AMDGPU] Fix running ResourceUsageAnalysis

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Fri Jul 23 00:34:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f15319968ec38314a28570bb978726b288bd7cc
      https://github.com/llvm/llvm-project/commit/2f15319968ec38314a28570bb978726b288bd7cc
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.h

  Log Message:
  -----------
  [AMDGPU] Fix running ResourceUsageAnalysis

Clear the map when running the analysis multiple times.
The assertion that should ensure that every function is only
analyzed once triggered sometimes (once every ~70 compiles of some
graphics pipelines) when two functions of subsequent runs were allocated
at the same address.

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




More information about the All-commits mailing list