summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-01-13 14:04:14 +0000
committerDuncan Sands <baldrick@free.fr>2009-01-13 14:04:14 +0000
commit013be76241ea276a0beb1b88cdb4298ac36ad03a (patch)
tree4591975af68d768cf26c0ae163de7c977557e8b9 /llvm/lib/CodeGen
parent944ccc5d6a844d6283c2176be2cb7f71d471aac5 (diff)
downloadbcm5719-llvm-013be76241ea276a0beb1b88cdb4298ac36ad03a.tar.gz
bcm5719-llvm-013be76241ea276a0beb1b88cdb4298ac36ad03a.zip
Correct a comment - this is not a sign extension.
llvm-svn: 62166
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 2a0b408fc8d..45df410ae2c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@ -329,7 +329,7 @@ SDValue DAGTypeLegalizer::PromoteIntRes_EXTRACT_VECTOR_ELT(SDNode *N) {
if (TLI.isBigEndian())
std::swap(Lo, Hi);
- // Signed extend to the promoted type.
+ // Extend to the promoted type.
SDValue Odd = DAG.getNode(ISD::TRUNCATE, MVT::i1, OldIdx);
SDValue Res = DAG.getNode(ISD::SELECT, NewVT, Odd, Hi, Lo);
return DAG.getNode(ISD::ANY_EXTEND, TLI.getTypeToTransformTo(OldVT), Res);
OpenPOWER on IntegriCloud