aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-10-27 07:14:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-10-27 07:14:50 +0000
commit23066288fdf4867f53f208f9aaf2952b1c049394 (patch)
tree2bc4df159784221290c1aa16e2256ac55c523299 /include/llvm/Target/TargetInstrInfo.h
parent0fd77a579bbed0fa06720474f1c5b2e3cd75004f (diff)
downloadexternal_llvm-23066288fdf4867f53f208f9aaf2952b1c049394.zip
external_llvm-23066288fdf4867f53f208f9aaf2952b1c049394.tar.gz
external_llvm-23066288fdf4867f53f208f9aaf2952b1c049394.tar.bz2
For now, don't split live intervals around x87 stack register barriers. FpGET_ST0_80 must be right after a call instruction (and ADJCALLSTACKUP) so we need to find a way to prevent reload of x87 registers between them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 2fdcf8b..a37e9e6 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -407,6 +407,13 @@ public:
return false;
}
+ /// IgnoreRegisterClassBarriers - Returns true if pre-register allocation
+ /// live interval splitting pass should ignore barriers of the specified
+ /// register class.
+ virtual bool IgnoreRegisterClassBarriers(const TargetRegisterClass *RC) const{
+ return true;
+ }
+
/// getPointerRegClass - Returns a TargetRegisterClass used for pointer
/// values.
virtual const TargetRegisterClass *getPointerRegClass() const {
@@ -425,7 +432,6 @@ public:
/// GetFunctionSizeInBytes - Returns the size of the specified MachineFunction.
///
virtual unsigned GetFunctionSizeInBytes(const MachineFunction &MF) const = 0;
-
};
/// TargetInstrInfoImpl - This is the default implementation of