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)
commit8341358adc05877750543fcf2dbbb7e1d60fe645
treed6bad475e5ce5f6dd0af9bd8b08ae89800bb8f14
parent1c504299232ff12d4da547f8e1a8454797cff5d1
Since TargetLowering is already subtarget dependent just pass
in the subtarget and stash it in the class so that lookups are
easier and safer.

llvm-svn: 227819
llvm/lib/Target/XCore/XCoreISelLowering.cpp
llvm/lib/Target/XCore/XCoreISelLowering.h
llvm/lib/Target/XCore/XCoreSubtarget.cpp