1. Fix the flip() method to correctly flip all words of the APInt.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 25 Feb 2007 23:44:53 +0000 (23:44 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 25 Feb 2007 23:44:53 +0000 (23:44 +0000)
commit9eec2413479becc7ccda188b083e43208748923b
treeb4eb4a2e60826825db3d967dd043062a5964dd64
parentc30654cc96869149fea7b5ac091c2cd3459591e4
1. Fix the flip() method to correctly flip all words of the APInt.
2. Implement the trunc, sext, and zext operations.
3. Improve fromString to accept negative values as input.

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