]> granicus.if.org Git - llvm/commit
[APInt] Move operator=(uint64_t) inline as its pretty simple and is often used with...
authorCraig Topper <craig.topper@gmail.com>
Mon, 27 Mar 2017 20:07:31 +0000 (20:07 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 27 Mar 2017 20:07:31 +0000 (20:07 +0000)
commit28ec1cc8922def174d48a19134644780c5960584
treecb14a49cc67d5b8383131b4a16bb466950c77355
parentdaa7fe44b1f005091edb5d14706f01e8bf29bfdc
[APInt] Move operator=(uint64_t) inline as its pretty simple and is often used with small constants that the compiler can optimize.

While there recognize that we only need to clearUnusedBits on the single word case.

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