[llvm-commits] [llvm] r62166 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Duncan Sands baldrick at free.fr
Tue Jan 13 06:04:14 PST 2009


Author: baldrick
Date: Tue Jan 13 08:04:14 2009
New Revision: 62166

URL: http://llvm.org/viewvc/llvm-project?rev=62166&view=rev
Log:
Correct a comment - this is not a sign extension.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp?rev=62166&r1=62165&r2=62166&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp Tue Jan 13 08:04:14 2009
@@ -329,7 +329,7 @@
   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);





More information about the llvm-commits mailing list