[AMDGPU] Add EXPENSIVE_CHECK into GCNRPTracker::reset
authorValery Pykhtin <valery.pykhtin@gmail.com>
Thu, 27 Oct 2022 07:06:27 +0000 (09:06 +0200)
committerValery Pykhtin <valery.pykhtin@gmail.com>
Fri, 28 Oct 2022 06:42:21 +0000 (08:42 +0200)
commitfecf067db40ffa1a6d5d665769c90cd29547f502
tree0c492b4106a02d0ec4b4c37e20e7bb2a4baaf0e9
parent088a81682444839e58ed5deaad50175d956db777
[AMDGPU] Add EXPENSIVE_CHECK into GCNRPTracker::reset

This would check if passed in live-ins registers match those calculated using LIS.

This check currently breaks 420 lit tests when enabled.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D136860
llvm/lib/Target/AMDGPU/GCNRegPressure.cpp