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)
commit15a00a858a8364e18545fb8d3c8311f696c5557d
tree67be9a32081b820ca9d7d45549f3a7a12eff919a
parent586b7419597b0bfe385eaa59b7f54d6e27dc7a6c
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.

llvm-svn: 242203
llvm/lib/CodeGen/MIRPrinter.cpp