aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-23 09:00:28 +0000
committerAndrew Trick <atrick@apple.com>2013-06-23 09:00:28 +0000
commit0f2eec65fb9e9e1dee3f672d38d03d047936a62a (patch)
tree75824e28475851e1a7545dbd5dc1f4b2e14ec094 /lib/Target/X86/X86InstrInfo.h
parent6959f08f445ba8e0f7f37fc2dff4c4a51964f962 (diff)
downloadexternal_llvm-0f2eec65fb9e9e1dee3f672d38d03d047936a62a.zip
external_llvm-0f2eec65fb9e9e1dee3f672d38d03d047936a62a.tar.gz
external_llvm-0f2eec65fb9e9e1dee3f672d38d03d047936a62a.tar.bz2
Add MI-Sched support for x86 macro fusion.
This is an awful implementation of the target hook. But we don't have abstractions yet for common machine ops, and I don't see any quick way to make it table-driven. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.h')
-rw-r--r--lib/Target/X86/X86InstrInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index f2f47ef..a0d1ba7 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -339,6 +339,9 @@ public:
int64_t Offset1, int64_t Offset2,
unsigned NumLoads) const;
+ virtual bool shouldScheduleAdjacent(MachineInstr* First,
+ MachineInstr *Second) const LLVM_OVERRIDE;
+
virtual void getNoopForMachoTarget(MCInst &NopInst) const;
virtual