summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64Subtarget.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-10-09 07:53:57 +0000
committerTim Northover <tnorthover@apple.com>2013-10-09 07:53:57 +0000
commitd29bae8bc9b393a24c7f3a1812b88763505eda11 (patch)
tree4e93eb9cb787689b90f38bbe511d0fa51aedf890 /lib/Target/AArch64/AArch64Subtarget.h
parentccb06ae8f3ef0135d4bddf4f0f61f619c3ce3f1e (diff)
downloadllvm-d29bae8bc9b393a24c7f3a1812b88763505eda11.tar.gz
llvm-d29bae8bc9b393a24c7f3a1812b88763505eda11.tar.bz2
llvm-d29bae8bc9b393a24c7f3a1812b88763505eda11.tar.xz
AArch64: enable MISched by default.
Substantial SelectionDAG scheduling is going away soon, and is interfering with Hao's attempts to implement LDn/STn instructions, so I say we make the leap first. There were a few reorderings (inevitably) which broke some tests. I tried to replace them with CHECK-DAG variants mostly, but some too complex for that to be useful and I just reordered them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64Subtarget.h')
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64Subtarget.h b/lib/Target/AArch64/AArch64Subtarget.h
index 4ffb60506c..f262b94617 100644
--- a/lib/Target/AArch64/AArch64Subtarget.h
+++ b/lib/Target/AArch64/AArch64Subtarget.h
@@ -39,6 +39,10 @@ public:
///
AArch64Subtarget(StringRef TT, StringRef CPU, StringRef FS);
+ virtual bool enableMachineScheduler() const {
+ return true;
+ }
+
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);