Use move semantics if possible to construct ConstantRanges.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 11 Jul 2013 15:37:27 +0000 (15:37 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 11 Jul 2013 15:37:27 +0000 (15:37 +0000)
commit318b7cc7f10d41370929ff93274de29c11f87b81
treeb139fce649ddd301017da2b400f51a76b93a3d7e
parent71857ccdb83b6374f7a791c2dae45ce9934a85af
Use move semantics if possible to construct ConstantRanges.

Arithmetic on ConstantRanges creates a lot of large temporary APInts that
benefit from move semantics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186091 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ConstantRange.h
lib/Support/ConstantRange.cpp