Now that ConstantInt::isValueValidForType can handle signed and unsigned
authorReid Spencer <rspencer@reidspencer.com>
Tue, 19 Dec 2006 21:16:35 +0000 (21:16 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 19 Dec 2006 21:16:35 +0000 (21:16 +0000)
commit9d908e8ca0314a8952b562de9d7e44bcf71426b1
tree70bbd9b5115d5b816b0c433c3cc5f3764dcbce24
parent24287ddb81aca5d2579dc30ebd3528d2521529d7
Now that ConstantInt::isValueValidForType can handle signed and unsigned
values regardless of the signedness of the constant's type, it is okay to
always make the AsmWriter.cpp print constant ints as signed values. The
AsmParser will automatically handle things like: uint -1 as a result.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32686 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/AsmWriter.cpp