[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Reid Spencer reid at x10sys.com
Fri Feb 2 05:55:11 PST 2007



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.258 -> 1.259
---
Log message:

Fix a comment that needed to change after SHIFT patch landed.


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

 AsmWriter.cpp |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.258 llvm/lib/VMCore/AsmWriter.cpp:1.259
--- llvm/lib/VMCore/AsmWriter.cpp:1.258	Thu Feb  1 20:16:22 2007
+++ llvm/lib/VMCore/AsmWriter.cpp	Fri Feb  2 07:54:55 2007
@@ -1270,8 +1270,7 @@
     bool PrintAllTypes = false;
     const Type *TheType = Operand->getType();
 
-    // Shift Left & Right print both types even for Ubyte LHS, and select prints
-    // types even if all operands are bools.
+    // Select, Store and ShuffleVector always print all types.
     if (isa<SelectInst>(I) || isa<StoreInst>(I) || isa<ShuffleVectorInst>(I)) {
       PrintAllTypes = true;
     } else {






More information about the llvm-commits mailing list