Add <imp-def> operands when reloading into physregs.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 6 Mar 2012 02:48:17 +0000 (02:48 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 6 Mar 2012 02:48:17 +0000 (02:48 +0000)
commit3247af294996ff8588077c06505b64966ad41542
tree8b5068709994cf2142d47e30aa4a1be9bb962b82
parent5b7634fd747fdb5a19c71bc637d4f389bd6e7611
Add <imp-def> operands when reloading into physregs.

When an instruction only writes sub-registers, it is still necessary to
add an <imp-def> operand for the super-register.  When reloading into a
virtual register, rewriting will add the operand, but when loading
directly into a virtual register, the <imp-def> operand is still
necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152095 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/neon_spill.ll