Change VFPNeonA8 definition to make the code easier to read.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2011-02-23 02:35:33 +00:00
parent 5129bdecd8
commit 2b943566f3
2 changed files with 3 additions and 8 deletions

View File

@@ -45,13 +45,8 @@ namespace {
}
static bool inNEONDomain(unsigned Domain, bool isA8) {
if (Domain & ARMII::DomainNEON) {
// Some instructions only go down NEON pipeline when executed on CortexA8.
if (Domain & ARMII::DomainNEONA8)
return isA8;
return true;
}
return false;
return (Domain & ARMII::DomainNEON) ||
(isA8 && (Domain & ARMII::DomainNEONA8));
}
bool NEONMoveFixPass::InsertMoves(MachineBasicBlock &MBB) {