[llvm] r258395 - PR26172: unnecessary indirection in HexagonCopyToCombine.cpp
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 04:45:18 PST 2016
Author: kparzysz
Date: Thu Jan 21 06:45:17 2016
New Revision: 258395
URL: http://llvm.org/viewvc/llvm-project?rev=258395&view=rev
Log:
PR26172: unnecessary indirection in HexagonCopyToCombine.cpp
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonCopyToCombine.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonCopyToCombine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonCopyToCombine.cpp?rev=258395&r1=258394&r2=258395&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonCopyToCombine.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonCopyToCombine.cpp Thu Jan 21 06:45:17 2016
@@ -409,7 +409,7 @@ HexagonCopyToCombine::findPotentialNewif
while (&*It != MI) {
if (!It->isDebugValue())
++NumInstsToDef;
- *It++;
+ ++It;
}
if (NumInstsToDef > MaxNumOfInstsBetweenNewValueStoreAndTFR)
More information about the llvm-commits
mailing list