Cache SelectionDAGISel TargetInstrInfo lookups on the class and
authorEric Christopher <echristo@gmail.com>
Wed, 8 Oct 2014 01:58:03 +0000 (01:58 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 8 Oct 2014 01:58:03 +0000 (01:58 +0000)
commitf3358e3d49a1ea8a53e10b4bf11d0009da345608
tree1ce956e7616c3d88499074e19498300af20f72e6
parentede41a93d3895937ce894296f8a606579db21340
Cache SelectionDAGISel TargetInstrInfo lookups on the class and
propagate. Also use the TargetSubtargetInfo and the MachineFunction
and move TargetRegisterInfo query closer to uses.

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