summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-12 23:39:49 +0000
committerEric Christopher <echristo@gmail.com>2014-06-12 23:39:49 +0000
commit70e005a1719978a134b0d65a38828b41338263fb (patch)
tree10c2cce84616fb95c3131330481b982b125e149c /llvm/lib/Target/ARM/ARMSelectionDAGInfo.h
parent349777d3ea6beb9e875339904af0385a451e17ef (diff)
downloadbcm5719-llvm-70e005a1719978a134b0d65a38828b41338263fb.tar.gz
bcm5719-llvm-70e005a1719978a134b0d65a38828b41338263fb.zip
Have ARMSelectionDAGInfo take a DataLayout as it's argument as the
DAG has access to the subtarget and TargetSelectionDAGInfo only needs a DataLayout. llvm-svn: 210859
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSelectionDAGInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSelectionDAGInfo.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h
index 8c2397b5218..13769dc8efe 100644
--- a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h
+++ b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h
@@ -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,
OpenPOWER on IntegriCloud