Move -widen-vmovs to ARMBaseInstrInfo::expandPostRAPseudo().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Oct 2011 00:59:06 +0000 (00:59 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Oct 2011 00:59:06 +0000 (00:59 +0000)
commit142bd1a54e93f3f66d420717ecba53539a556035
treeeb3bdf6de641c042c55d1b8201a5abedaa99ad08
parenta5903acd6bc15c6aa511068f8b79c79014c1b5d4
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
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h