[APInt] Use negate() instead of copying an APInt to negate it and then writing back...
authorCraig Topper <craig.topper@gmail.com>
Thu, 11 May 2017 07:02:04 +0000 (07:02 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 11 May 2017 07:02:04 +0000 (07:02 +0000)
commitb3c1f567373d5895752b69d1ccece90813447fa9
treefbb4e24812a3a152693e86b6f27390f9220f52af
parente3e1a35f68f0053e24725e30f4f6a4496efab324
[APInt] Use negate() instead of copying an APInt to negate it and then writing back over the original value.

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