SuccessChanges

Summary

  1. [SCEV] Remove extra APInt copies from getRangeForAffineARHelper. This changes one parameter to be a const APInt& since we only read from it. Use std::move on local APInts once they are no longer needed so we can reuse their allocations. Lastly, use operator+=(uint64_t) instead of adding 1 to an APInt twice creating a new APInt each time.
  2. [SCEV] Use std::move to avoid some APInt copies.
Revision 302335 by ctopper:
[SCEV] Remove extra APInt copies from getRangeForAffineARHelper.

This changes one parameter to be a const APInt& since we only read from it. Use std::move on local APInts once they are no longer needed so we can reuse their allocations. Lastly, use operator+=(uint64_t) instead of adding 1 to an APInt twice creating a new APInt each time.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/ScalarEvolution.cpp (diff)llvm-revision.src/llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Revision 302334 by ctopper:
[SCEV] Use std::move to avoid some APInt copies.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/ScalarEvolution.cpp (diff)llvm-revision.src/llvm/trunk/lib/Analysis/ScalarEvolution.cpp