diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-24 05:30:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-24 05:30:14 +0000 |
commit | f3b0aac1902d6e01ed9a633f4a93c26317b43835 (patch) | |
tree | 4ed9c157cdca2d8727cbd7171e89b85caebbc02f /utils/TableGen/CodeGenDAGPatterns.cpp | |
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
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions