]> granicus.if.org Git - llvm/commit
AMDGPU: Restore using MRI to find highest used regs
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Aug 2017 17:15:01 +0000 (17:15 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Aug 2017 17:15:01 +0000 (17:15 +0000)
commit981b5410cc12240db4414a206822795a4ac524fe
tree0a833fa887eaea8f062a350a2a089a39c405addf
parent810c1b6a3ccd5a0ce63291967b00af05fb58413e
AMDGPU: Restore using MRI to find highest used regs

If there are no calls, this is a faster path than
searching the entire program for calls.

This was supposed to be left in r309781.
Fixes unused variable warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309832 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp