diff options
| author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-03-27 16:33:08 +0000 |
|---|---|---|
| committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2007-03-27 16:33:08 +0000 |
| commit | 682baf2ddaf340ee83c7a6c57d293198be29c196 (patch) | |
| tree | a0beca548dc371e3f2485fb53f567705fcdb47d5 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
| parent | 143b0dff319c23324f60a3536ef37c536c0a6c65 (diff) | |
| download | bcm5719-llvm-682baf2ddaf340ee83c7a6c57d293198be29c196.tar.gz bcm5719-llvm-682baf2ddaf340ee83c7a6c57d293198be29c196.zip | |
"The C standards do say that "char" may either be a "signed char" or "unsigned
char" and it is up to the compilers implementation or the platform which is
followed."
http://www.arm.linux.org.uk/docs/faqs/signedchar.php
llvm-svn: 35382
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index adfe3b70a1e..0d5b6932a7e 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -2219,7 +2219,7 @@ static SDOperand LowerBUILD_VECTOR(SDOperand Op, SelectionDAG &DAG) { // Check to see if this is a wide variety of vsplti*, binop self cases. unsigned SplatBitSize = SplatSize*8; - static const char SplatCsts[] = { + static const signed char SplatCsts[] = { -1, 1, -2, 2, -3, 3, -4, 4, -5, 5, -6, 6, -7, 7, -8, 8, -9, 9, -10, 10, -11, 11, -12, 12, -13, 13, 14, -14, 15, -15, -16 }; |

