Instead of the TargetMachine cache the MachineFunction
authorEric Christopher <echristo@gmail.com>
Tue, 14 Oct 2014 07:17:20 +0000 (07:17 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 14 Oct 2014 07:17:20 +0000 (07:17 +0000)
commit188c856c38dff2f8a166d4d6363781079c694261
tree6398d217189fe20fba89671ba28f61ac3ef943c7
parentd879de1ece18b087b7eff36f8482fe152dcce114
Instead of the TargetMachine cache the MachineFunction
and TargetRegisterInfo in the peephole optimizer. This
makes it easier to grab subtarget dependent variables off
of the MachineFunction rather than the TargetMachine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219669 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PeepholeOptimizer.cpp