[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Lauro Ramos Venancio lauro.venancio at gmail.com
Tue Mar 27 09:33:25 PDT 2007



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.263 -> 1.264
---
Log message:

"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


---
Diffs of the changes:  (+1 -1)

 PPCISelLowering.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.263 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.264
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.263	Sat Mar 24 21:14:49 2007
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Tue Mar 27 11:33:08 2007
@@ -2219,7 +2219,7 @@
 
     // 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
     };






More information about the llvm-commits mailing list