Remove the MCInstrInfo cached variable as it was only used in a
authorEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 06:35:21 +0000 (06:35 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 06:35:21 +0000 (06:35 +0000)
commit97ea7622b5001e08c76f35b2d9ca7cde5d520f94
tree27d6263956431c5eaed0ca5f1ea76ba1ff3da30b
parent9a3644c4725fcd72b8100f77d75365f4b3711067
Remove the MCInstrInfo cached variable as it was only used in a
single place and replace calls to getSubtargetImpl with calls
to get the subtarget from the MachineFunction where valid.

llvm-svn: 229971
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp