Silence warnings about -1 being converted to an unsigned value.
authorDan Gohman <gohman@apple.com>
Mon, 3 May 2010 20:23:47 +0000 (20:23 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 3 May 2010 20:23:47 +0000 (20:23 +0000)
commitf16c6803d72401aef50dfffded89edce28e184d3
treee59b3a80936d2b1aa5f68b1998f25d609a269fba
parent0b12348ddf54ef2ca96bf807742e1c6622c692d4
Silence warnings about -1 being converted to an unsigned value.

Also, pass true for isSigned even when creating constants for unsigned
comparisons, because the point is to create an all-ones constant,
rather than UINT64_MAX, even for integers wider than 64 bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp