Grab the TargetRegisterInfo off of the subtarget from the
authorEric Christopher <echristo@gmail.com>
Wed, 8 Oct 2014 09:50:52 +0000 (09:50 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 8 Oct 2014 09:50:52 +0000 (09:50 +0000)
commitc586355b060d2ac915d5c06e656671f486976a59
tree4a4e2f126017301ef6eac428f0773629dde50088
parent9e9c2aff71eb52c92182ad1700278f7fba5d9b49
Grab the TargetRegisterInfo off of the subtarget from the
MachineFunction rather than a lookup on the TargetMachine
to avoid unnecessary lookups.

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