[AMDGPU] Lower regbanks reassign threshold to 15000

Let it work on a very small kernels only. Measurements showed
the performance benefit is not worth the compile time.

Differential Revision: https://reviews.llvm.org/D100904
This commit is contained in:
Stanislav Mekhanoshin 2021-04-20 15:58:01 -07:00
parent 97e383aa06
commit f9d0d0d7e0
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static cl::opt<unsigned> VerifyStallCycles("amdgpu-verify-regbanks-reassign",
// Threshold to keep compile time reasonable.
static cl::opt<unsigned> VRegThresh("amdgpu-regbanks-reassign-threshold",
cl::desc("Max number of vregs to run the regbanks reassign pass"),
cl::init(100000), cl::Hidden);
cl::init(15000), cl::Hidden);
#define DEBUG_TYPE "amdgpu-regbanks-reassign"