Changes in directory llvm/lib/Target/X86:

X86IntelAsmPrinter.cpp updated: 1.60 -> 1.61
---
Log message:

For PR950: http://llvm.org/PR950 :
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.


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

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


Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.60 
llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.61
--- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.60     Wed Oct  4 22:01:21 2006
+++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp  Fri Oct 20 02:07:24 2006
@@ -474,7 +474,7 @@
     unsigned len = 0;
     bool inString = false;
     for (unsigned i = 0; i < NumElts; i++) {
-      int n = cast<ConstantInt>(CVA->getOperand(i))->getRawValue() & 255;
+      int n = cast<ConstantInt>(CVA->getOperand(i))->getZExtValue() & 255;
       if (len == 0)
         O << "\tdb ";
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to