Move the fast-path (<=i64) cases of various APInt methods inline
authorChris Lattner <sabre@nondot.org>
Wed, 20 Aug 2008 17:02:31 +0000 (17:02 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 20 Aug 2008 17:02:31 +0000 (17:02 +0000)
commit98f8ccfad06c8928d899f506731987f951b2ebe4
treefba48082d5e82c236465577a14c1bd6cfbddea2a
parenta267651b7ec4f96e01b31f541d446758bf8da8a9
Move the fast-path (<=i64) cases of various APInt methods inline
and the slow-path cases out of line.  This speeds up instcombine
a bit in real world cases.  Patch contributed by m-s.

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