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 | 1baa1971a66d6a250d07b7bee249653bd91453a0 (patch) | |
tree | e85fe8b5a1a9b4579e5108a9414ebace13b85c93 /lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | b8a93a45f8db0ff507c3833c88f24d5fcd9b2ed4 (diff) | |
download | llvm-1baa1971a66d6a250d07b7bee249653bd91453a0.tar.gz llvm-1baa1971a66d6a250d07b7bee249653bd91453a0.tar.bz2 llvm-1baa1971a66d6a250d07b7bee249653bd91453a0.tar.xz |
"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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index adfe3b70a1..0d5b6932a7 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/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 }; |