| commit | a3566f2149bad9ebe330b4e3429cce8c028f3192 | [log] [tgz] |
|---|---|---|
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Apr 17 19:48:30 2017 +0000 |
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Apr 17 19:48:30 2017 +0000 |
| tree | f2e7a790b19bf87fc9ceb5ffc0d9c70969a6a0bd | |
| parent | 869fec278cfa6c0acdeedb45a5dfc5b24e7e01a0 [diff] |
AMDGPU: Use MachineRegisterInfo to find max used register Avoid looping through program to determine register counts. This avoids needing to look at regmask operands. Also fixes some counting errors with flat_scr when there are no stack objects. llvm-svn: 300482