[NFC] Use [MC]Register in RegAllocGreedy
authorMircea Trofin <mtrofin@google.com>
Thu, 22 Oct 2020 17:30:30 +0000 (10:30 -0700)
committerMircea Trofin <mtrofin@google.com>
Fri, 23 Oct 2020 18:30:53 +0000 (11:30 -0700)
commit819044ad2d6a38ee12321d4523b9d980a7afbc18
tree45edf5adb4941994dcd40a7ce9de511d716ee698
parentedb27912a3ec097b5f267941b3b0107b4bb8d997
[NFC] Use [MC]Register in RegAllocGreedy

This was initiated from the uses of MCRegUnitIterator, so while likely
not exhaustive, it's a step forward.

Differential Revision: https://reviews.llvm.org/D89975
llvm/lib/CodeGen/AllocationOrder.h
llvm/lib/CodeGen/RegAllocGreedy.cpp