Fix a comment that needed to change after SHIFT patch landed.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 2 Feb 2007 13:54:55 +0000 (13:54 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 2 Feb 2007 13:54:55 +0000 (13:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33781 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index 8a7c0987c74932ce646274799f17a4050ef9bd8d..f13a140b63846f37c3b0e9e7a6606abe61b81b93 100644 (file)
@@ -1270,8 +1270,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
     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 {