Remove more uses of TargetMachine::getSubtargetImpl from the
authorEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 07:16:19 +0000 (07:16 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 07:16:19 +0000 (07:16 +0000)
commit3ff22e442dc79069bc11b9123d339761cafb9379
tree57269141a879e9fbbccd9a8175b8abae945864b3
parent12cbedbaeef52224a40308347add36b4a456e23c
Remove more uses of TargetMachine::getSubtargetImpl from the
AsmPrinter.

getSubtargetInfo now asserts that the MachineFunction exists.
Debug printing of register naming now uses the register info
from MCAsmInfo as that's unchanging.

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