PR26172: unnecessary indirection in HexagonCopyToCombine.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Krzysztof Parzyszek 2016-01-21 12:45:17 +00:00
parent 5eb3cea247
commit 0102a600a6

View File

@ -409,7 +409,7 @@ HexagonCopyToCombine::findPotentialNewifiableTFRs(MachineBasicBlock &BB) {
while (&*It != MI) {
if (!It->isDebugValue())
++NumInstsToDef;
*It++;
++It;
}
if (NumInstsToDef > MaxNumOfInstsBetweenNewValueStoreAndTFR)