Make the PowerPC AsmPrinter independent of global subtarget
authorEric Christopher <echristo@gmail.com>
Tue, 17 Feb 2015 07:21:21 +0000 (07:21 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 17 Feb 2015 07:21:21 +0000 (07:21 +0000)
commit2d460786b176049f775b8b305dd8dfd6bb87c414
tree5d6d04ca267d1a318a59c31ab081a62de3b7aaf1
parenta6f04a4ba77bb0af36865ddee778cc587825099d
Make the PowerPC AsmPrinter independent of global subtarget
initialization. Initialize the subtarget once per function and
migrate EmitStartOfAsmFile to either use attributes on the
TargetMachine or get information from all of the various
subtargets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229475 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp