MIR Printer: move the function 'printReg'. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 14 Jul 2015 21:18:25 +0000 (21:18 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 14 Jul 2015 21:18:25 +0000 (21:18 +0000)
commit7ebf4b21c77a21fd2dcc6f582fd980ddc1264d7c
tree83f227e639dc276fd69220c7bb8db93d602fd4f5
parent0d71b6afcb5d9e6e1ef44424635d3462362b4055
MIR Printer: move the function 'printReg'. NFC.

This commit moves the function 'printReg' towards the start of the file so that
it can be used by the conversion methods in MIRPrinter and not just the printing
methods in MIPrinter.

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