Have ARMSelectionDAGInfo take a DataLayout as it's argument as the
[oota-llvm.git] / lib / Target / ARM / ARMSelectionDAGInfo.h
index 8c2397b521882e0cce8adefcd249e266a4dda305..13769dc8efe0feb610bd60a49265a3a1ede78a54 100644 (file)
@@ -36,12 +36,8 @@ namespace ARM_AM {
 }  // end namespace ARM_AM
 
 class ARMSelectionDAGInfo : public TargetSelectionDAGInfo {
-  /// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
-  /// make the right decision when generating code for different targets.
-  const ARMSubtarget *Subtarget;
-
 public:
-  explicit ARMSelectionDAGInfo(const TargetMachine &TM);
+  explicit ARMSelectionDAGInfo(const DataLayout &DL);
   ~ARMSelectionDAGInfo();
 
   SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,