summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreISelLowering.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-02-02 17:52:27 +0000
committerEric Christopher <echristo@gmail.com>2015-02-02 17:52:27 +0000
commit8341358adc05877750543fcf2dbbb7e1d60fe645 (patch)
treed6bad475e5ce5f6dd0af9bd8b08ae89800bb8f14 /llvm/lib/Target/XCore/XCoreISelLowering.h
parent1c504299232ff12d4da547f8e1a8454797cff5d1 (diff)
downloadbcm5719-llvm-8341358adc05877750543fcf2dbbb7e1d60fe645.tar.gz
bcm5719-llvm-8341358adc05877750543fcf2dbbb7e1d60fe645.zip
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
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.h')
-rw-r--r--llvm/lib/Target/XCore/XCoreISelLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.h b/llvm/lib/Target/XCore/XCoreISelLowering.h
index 13154c640fd..918d282f707 100644
--- a/llvm/lib/Target/XCore/XCoreISelLowering.h
+++ b/llvm/lib/Target/XCore/XCoreISelLowering.h
@@ -93,8 +93,8 @@ namespace llvm {
class XCoreTargetLowering : public TargetLowering
{
public:
-
- explicit XCoreTargetLowering(const TargetMachine &TM);
+ explicit XCoreTargetLowering(const TargetMachine &TM,
+ const XCoreSubtarget &Subtarget);
using TargetLowering::isZExtFree;
bool isZExtFree(SDValue Val, EVT VT2) const override;
OpenPOWER on IntegriCloud