commit | f3b0aac1902d6e01ed9a633f4a93c26317b43835 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Apr 24 05:30:14 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Apr 24 05:30:14 2009 +0000 |
tree | 4ed9c157cdca2d8727cbd7171e89b85caebbc02f | |
parent | b706d29f9c5ed3ed9acc82f7ab46205ba56b92dc [diff] |
"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." Patch by Jeffrey Yasskin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69958 91177308-0d34-0410-b5e6-96231b3b80d8