aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-09-04 21:00:08 +0000
committerAndrew Trick <atrick@apple.com>2013-09-04 21:00:08 +0000
commitd1d0d37a198df718b0fd1f838b7d9593b1636299 (patch)
treedef52e62f8d9d0967a1dcb131b74cae9c7d62c58 /include/llvm/Target
parent00b5fa4c280a5e7b84142d73b0ce86fa13654f2a (diff)
downloadexternal_llvm-d1d0d37a198df718b0fd1f838b7d9593b1636299.zip
external_llvm-d1d0d37a198df718b0fd1f838b7d9593b1636299.tar.gz
external_llvm-d1d0d37a198df718b0fd1f838b7d9593b1636299.tar.bz2
mi-sched: Load clustering is a bit to expensive to enable unconditionally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index f746daf..d92ad42 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -615,6 +615,8 @@ public:
return false;
}
+ virtual bool enableClusterLoads() const { return false; }
+
virtual bool shouldClusterLoads(MachineInstr *FirstLdSt,
MachineInstr *SecondLdSt,
unsigned NumLoads) const {