Stash the TargetMachine on the subtarget so we can access it later.
authorEric Christopher <echristo@gmail.com>
Fri, 13 Feb 2015 22:23:04 +0000 (22:23 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 13 Feb 2015 22:23:04 +0000 (22:23 +0000)
commit7b93acde3206e916752d94288f25ae5f08a4d419
treee6257dc7b5b0d2aab5e5ada29d906878da3aa65b
parent4015892a847fca9c23ff5e605d24589c5a61fb4b
Stash the TargetMachine on the subtarget so we can access it later.
Clean up a subtarget function that has it passed in while we're at it.

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