summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMBaseInstrInfo.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-11 00:59:06 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-11 00:59:06 +0000
commit142bd1a54e93f3f66d420717ecba53539a556035 (patch)
treeeb3bdf6de641c042c55d1b8201a5abedaa99ad08 /lib/Target/ARM/ARMBaseInstrInfo.h
parenta5903acd6bc15c6aa511068f8b79c79014c1b5d4 (diff)
downloadllvm-142bd1a54e93f3f66d420717ecba53539a556035.tar.gz
llvm-142bd1a54e93f3f66d420717ecba53539a556035.tar.bz2
llvm-142bd1a54e93f3f66d420717ecba53539a556035.tar.xz
Move -widen-vmovs to ARMBaseInstrInfo::expandPostRAPseudo().
The VMOVS widening needs to look at the implicit COPY operands. Trying to dig out the COPY instruction from an iterator in copyPhysReg() is the wrong approach. The expandPostRAPseudo() hook gets to look at COPY instructions before they are converted to copyPhysReg() calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h
index 30dd6973fd..0f9f32179a 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/lib/Target/ARM/ARMBaseInstrInfo.h
@@ -123,6 +123,8 @@ public:
const TargetRegisterClass *RC,
const TargetRegisterInfo *TRI) const;
+ virtual bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const;
+
virtual MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF,
int FrameIx,
uint64_t Offset,