summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-05-06 06:03:07 +0000
committerCraig Topper <craig.topper@gmail.com>2017-05-06 06:03:07 +0000
commit6c5e22a4b876fa6a40929f06d8c3b3967324ce76 (patch)
tree3686bab7f2086c2c25ec4828a2dfe4131c3e6ccf /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent69f1af29fba253eb908d81fdcb0471487b8813f2 (diff)
downloadbcm5719-llvm-6c5e22a4b876fa6a40929f06d8c3b3967324ce76.tar.gz
bcm5719-llvm-6c5e22a4b876fa6a40929f06d8c3b3967324ce76.zip
[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. llvm-svn: 302335
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud