summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-02 13:54:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-02 13:54:55 +0000
commit0cdd04fa90f30c973face1a711c8aaa76b6dbf4e (patch)
tree799b0f3667f23b6106e8f69f2417f24066c79063 /llvm
parentfda6550545008e763be2e82dd908afa35ccd1dd7 (diff)
downloadbcm5719-llvm-0cdd04fa90f30c973face1a711c8aaa76b6dbf4e.tar.gz
bcm5719-llvm-0cdd04fa90f30c973face1a711c8aaa76b6dbf4e.zip
Fix a comment that needed to change after SHIFT patch landed.
llvm-svn: 33781
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 8a7c0987c74..f13a140b638 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -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 {
OpenPOWER on IntegriCloud