aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-17 19:48:30 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-17 19:48:30 +0000
commita3566f2149bad9ebe330b4e3429cce8c028f3192 (patch)
treef2e7a790b19bf87fc9ceb5ffc0d9c70969a6a0bd /clang/lib/CodeGen/CodeGenModule.cpp
parent869fec278cfa6c0acdeedb45a5dfc5b24e7e01a0 (diff)
downloadllvm-a3566f2149bad9ebe330b4e3429cce8c028f3192.zip
llvm-a3566f2149bad9ebe330b4e3429cce8c028f3192.tar.gz
llvm-a3566f2149bad9ebe330b4e3429cce8c028f3192.tar.bz2
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions