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)
commitcce97be70b1e0ebbf0d84f1a45372c6f1e316ca0
tree1aed75b5ece5bf0055351374b8f775dc797947b8
parentb1c1c5f37734770f7ecef3d83f26e130ca4a4c9e
Use move semantics if possible to construct ConstantRanges.

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

llvm-svn: 186091
llvm/include/llvm/Support/ConstantRange.h
llvm/lib/Support/ConstantRange.cpp