diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-16 22:11:08 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-16 22:11:08 +0000 |
commit | a2846b4bee819c02094c41d44c4e92e03fc830dd (patch) | |
tree | 5cf7bb8c1d096c39d169c6804d78f82a5993cbfd /lib/Target/ARM | |
parent | 07f6e805b1e832a2c34a83862cec27736bb471bf (diff) | |
download | external_llvm-a2846b4bee819c02094c41d44c4e92e03fc830dd.zip external_llvm-a2846b4bee819c02094c41d44c4e92e03fc830dd.tar.gz external_llvm-a2846b4bee819c02094c41d44c4e92e03fc830dd.tar.bz2 |
Don't attempt preserving conservative kill flags. We were doing it wrong.
This is before LiveVariables anyway, where these kill flags are recalculated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r-- | lib/Target/ARM/NEONPreAllocPass.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/NEONPreAllocPass.cpp b/lib/Target/ARM/NEONPreAllocPass.cpp index 2fcb327..fa69f1a 100644 --- a/lib/Target/ARM/NEONPreAllocPass.cpp +++ b/lib/Target/ARM/NEONPreAllocPass.cpp @@ -448,8 +448,7 @@ NEONPreAllocPass::FormsRegSequence(MachineInstr *MI, assert(DefMI->isExtractSubreg()); MO.setReg(LastSrcReg); MO.setSubReg(SubIds[R]); - if (R != 0) - MO.setIsKill(false); + MO.setIsKill(false); // Delete the EXTRACT_SUBREG if its result is now dead. if (MRI->use_empty(OldReg)) DefMI->eraseFromParent(); |