First step to fix PR2088. Implement routine to compute the
authorWojciech Matyjewicz <wmatyjewicz@fastmail.fm>
Mon, 23 Jun 2008 19:39:50 +0000 (19:39 +0000)
committerWojciech Matyjewicz <wmatyjewicz@fastmail.fm>
Mon, 23 Jun 2008 19:39:50 +0000 (19:39 +0000)
commit300c6c5167d2869d1568d783d0e3e48bf4b03a6c
tree6cdbf87bd8a4d8048a3ad81750f225520ce21b39
parent180c1691c7fd79e2376bdd59e962d190607e20fa
First step to fix PR2088. Implement routine to compute the
multiplicative inverse of a given number. Modify udivrem to allow input and
output pairs of arguments to overlap. Patch is based on the work by Chandler
Carruth.

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