Move helper functions for optimizing division by constant into the APInt
commit56b11f9f93622a04dffaa9ac1697ef92ca3469dc
authorJay Foad <jay.foad@gmail.com>
Thu, 30 Apr 2009 10:15:35 +0000 (30 10:15 +0000)
committerJay Foad <jay.foad@gmail.com>
Thu, 30 Apr 2009 10:15:35 +0000 (30 10:15 +0000)
treef306c484b9655b01cae010e41f6003fea0fc66fe
parent89f4cda3fb5cd58f7253479acc87b3f913ca7ac7
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