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)
commit92b4bcbbee61f927a657b62ad0e70eb402e515a6
tree242a262e00b6e78ab2ab5b2c7723b41de2ee6288
parenteb9e87f6e35fadf107b979c1b9110abd5e2b8913
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.

llvm-svn: 219669
llvm/lib/CodeGen/PeepholeOptimizer.cpp