diff options
author | Sebastian Neubauer <sebastian.neubauer@amd.com> | 2021-07-21 19:14:12 +0200 |
---|---|---|
committer | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | 2021-07-23 09:25:15 +0200 |
commit | 2f15319968ec38314a28570bb978726b288bd7cc (patch) | |
tree | cb2eaf501bff8ab4039869e08dad3a56602deba5 /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | e7077971f2eb02a1540510a74a55d8ecc02ef903 (diff) | |
download | llvm-2f15319968ec38314a28570bb978726b288bd7cc.zip llvm-2f15319968ec38314a28570bb978726b288bd7cc.tar.gz llvm-2f15319968ec38314a28570bb978726b288bd7cc.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions