aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore/XCoreInstrInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-07 17:38:06 +0000
committerDan Gohman <gohman@apple.com>2009-10-07 17:38:06 +0000
commite33f44cfc547359bc28526e4c5e1852b600b4448 (patch)
treed809153a8332a1292de9f01eb8cf5cfbead8297e /lib/Target/XCore/XCoreInstrInfo.h
parent2dbc4c84f6de55deeea6631201c5df943d5327c0 (diff)
downloadexternal_llvm-e33f44cfc547359bc28526e4c5e1852b600b4448.tar.gz
external_llvm-e33f44cfc547359bc28526e4c5e1852b600b4448.tar.bz2
external_llvm-e33f44cfc547359bc28526e4c5e1852b600b4448.zip
Replace TargetInstrInfo::isInvariantLoad and its target-specific
implementations with a new MachineInstr::isInvariantLoad, which uses MachineMemOperands and is target-independent. This brings MachineLICM and other functionality to targets which previously lacked an isInvariantLoad implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreInstrInfo.h')
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.h b/lib/Target/XCore/XCoreInstrInfo.h
index c97e6b4d28..24230ac46a 100644
--- a/lib/Target/XCore/XCoreInstrInfo.h
+++ b/lib/Target/XCore/XCoreInstrInfo.h
@@ -52,8 +52,6 @@ public:
virtual unsigned isStoreToStackSlot(const MachineInstr *MI,
int &FrameIndex) const;
- virtual bool isInvariantLoad(const MachineInstr *MI) const;
-
virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
MachineBasicBlock *&FBB,
SmallVectorImpl<MachineOperand> &Cond,