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)
commit587999319a92b39a5903fc1dc57e7af0f37ea74b
tree2915229f2726788071851f79d73d514c44f6659d
parent7be2b85e1e3f39a7fcad87f045bf50e6898391a3
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.

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