projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary caching of variables by MSP430TargetLowering and
[oota-llvm.git]
/
lib
/
Target
/
MSP430
/
MSP430ISelLowering.h
diff --git
a/lib/Target/MSP430/MSP430ISelLowering.h
b/lib/Target/MSP430/MSP430ISelLowering.h
index 3ced61de3f4fe7bc90152531a825475d16ddbc19..3e2f344aeb5aa84f284e0add793f1dc8ff953692 100644
(file)
--- a/
lib/Target/MSP430/MSP430ISelLowering.h
+++ b/
lib/Target/MSP430/MSP430ISelLowering.h
@@
-66,12
+66,9
@@
namespace llvm {
};
}
};
}
- class MSP430Subtarget;
- class MSP430TargetMachine;
-
class MSP430TargetLowering : public TargetLowering {
public:
class MSP430TargetLowering : public TargetLowering {
public:
- explicit MSP430TargetLowering(
MSP430
TargetMachine &TM);
+ explicit MSP430TargetLowering(
const
TargetMachine &TM);
MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; }
MVT getScalarShiftAmountTy(EVT LHSTy) const override { return MVT::i8; }
@@
-170,9
+167,6
@@
namespace llvm {
SDValue &Offset,
ISD::MemIndexedMode &AM,
SelectionDAG &DAG) const override;
SDValue &Offset,
ISD::MemIndexedMode &AM,
SelectionDAG &DAG) const override;
-
- const MSP430Subtarget &Subtarget;
- const DataLayout *TD;
};
} // namespace llvm
};
} // namespace llvm