[llvm-commits] Add ConstantInt::getSigned()
Chris Lattner
clattner at apple.com
Thu Apr 23 22:31:07 PDT 2009
On Apr 23, 2009, at 6:26 PM, Jeffrey Yasskin wrote:
> I got annoyed at the compiler warnings from ConstantInt::get(Ty, -1,
> true), and casts make me nervous and are verbose anyway, so here's a
> ConstantInt::getSigned(Ty, int64_t) method. Just overloading
> ConstantInt::get() to take an int64_t too would cause ambiguous
> overload errors.
Applied, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090420/076643.html
-Chris
More information about the llvm-commits
mailing list