[APInt] Move operator&=(uint64_t) inline and use memset to clear the upper words.
authorCraig Topper <craig.topper@gmail.com>
Mon, 27 Mar 2017 18:16:17 +0000 (18:16 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 27 Mar 2017 18:16:17 +0000 (18:16 +0000)
commit0532ee926c28ac0abda1d4181123974ec6bd1507
tree136416409dd12e9628f29d01b90197388496f27d
parentc53cf7e424b8014a647330d8317566bba7699a6d
[APInt] Move operator&=(uint64_t) inline and use memset to clear the upper words.

This method is pretty new and probably isn't use much in the code base so this should have a negligible size impact. The OR and XOR operators are already inline.

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