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)
commita7249ec1a714bea254832a75df490118dea23861
tree9386aa751ec12ea26b63889bd0b59ecc694fc370
parenta2bda088067497b02e0b2a3352410d399c003b54
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.

llvm-svn: 229978
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp