Move helper functions for optimizing division by constant into the APInt
authorJay Foad <jay.foad@gmail.com>
Thu, 30 Apr 2009 10:15:35 +0000 (10:15 +0000)
committerJay Foad <jay.foad@gmail.com>
Thu, 30 Apr 2009 10:15:35 +0000 (10:15 +0000)
commit4e5ea553d055512b0b8aa098e363ae17bafda957
treef306c484b9655b01cae010e41f6003fea0fc66fe
parent78e04d4aa0a31adee89b919d0bc66051c157f137
Move helper functions for optimizing division by constant into the APInt
class.

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