Don't cache the TargetLoweringInfo object inside of the FunctionLowering object.
authorBill Wendling <isanbard@gmail.com>
Thu, 6 Jun 2013 00:11:39 +0000 (00:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 6 Jun 2013 00:11:39 +0000 (00:11 +0000)
commit384ceb8446bebe4425e65d1035256eee3b4cfa6d
treec6b655bcfd39d33e707cd37df9a227ac9135fbd6
parentcfb476fb20476aea15ca800ef571bfff7b5f3d29
Don't cache the TargetLoweringInfo object inside of the FunctionLowering object.

The TargetLoweringInfo object is owned by the TargetMachine. In the future, the
TargetMachine object may change, which may also change the TargetLoweringInfo
object.

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