]> granicus.if.org Git - llvm/commit
[APInt] Move the 'return *this' from the slow cases of assignment operators inline...
authorCraig Topper <craig.topper@gmail.com>
Wed, 19 Apr 2017 17:01:58 +0000 (17:01 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 19 Apr 2017 17:01:58 +0000 (17:01 +0000)
commit51a84388011d517c9d65565ef0cf7ecaf637afb4
tree1ec917134a4e3f38916534c0c863cb0c93e06546
parent19e4f8f1d9265ce0ddf429fe08b2a84243307a3c
[APInt] Move the 'return *this' from the slow cases of assignment operators inline. We should let the compiler see that the fast/slow cases both return *this.

I don't think we chain assignments together very often so this shouldn't matter much.

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