Since TargetLowering is already subtarget dependent just pass
authorEric Christopher <echristo@gmail.com>
Mon, 2 Feb 2015 17:52:27 +0000 (17:52 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 2 Feb 2015 17:52:27 +0000 (17:52 +0000)
commit5fc4d409c6ca87b02fb2208c2a44ddb16aa4ff62
tree27ed00d606599653e0cf36153047de3cd9e8378d
parentf49b8ab731d5e9c459dc1bf5bef65d2df68013fd
Since TargetLowering is already subtarget dependent just pass
in the subtarget and stash it in the class so that lookups are
easier and safer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreISelLowering.cpp
lib/Target/XCore/XCoreISelLowering.h
lib/Target/XCore/XCoreSubtarget.cpp