[APInt] Remove an unneeded extra temporary APInt from toString.
authorCraig Topper <craig.topper@gmail.com>
Thu, 11 May 2017 07:10:43 +0000 (07:10 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 11 May 2017 07:10:43 +0000 (07:10 +0000)
commitc59ced36aa96c64dcb481421c113f6f9a11b4cbc
treea7b3845bda8470fb6f1c966679ecf606637022df
parentf3fde7e851bb059a73c433c72051234030a0ead5
[APInt] Remove an unneeded extra temporary APInt from toString.

Turns out udivrem can write its output to the same location as one of its inputs so the extra temporary isn't needed.

llvm-svn: 302772
llvm/lib/Support/APInt.cpp