A slight compile time optimization. If the caller knows there isn't a free register...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 29 Jan 2009 01:13:00 +0000 (01:13 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 29 Jan 2009 01:13:00 +0000 (01:13 +0000)
commit7ddee0ad249e69753a08356708fe3bfbedbb7712
treef65f8bcc20c49853403dc9e6d2302bd0d45ace18
parente8c17335c53f0f37262ee342f46b0d00ac0c1493
A slight compile time optimization. If the caller knows there isn't a free register getReg() should not call getFreeReg().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp