[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp TargetLowering.cpp

Dan Gohman djg at cray.com
Thu Jun 21 07:48:49 PDT 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.498 -> 1.499
TargetLowering.cpp updated: 1.120 -> 1.121
---
Log message:

Tidy up ValueType names in comments.


---
Diffs of the changes:  (+5 -5)

 LegalizeDAG.cpp    |    4 ++--
 TargetLowering.cpp |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.498 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.499
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.498	Mon Jun 18 16:28:10 2007
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	Thu Jun 21 09:48:26 2007
@@ -5649,8 +5649,8 @@
 
 
 /// PackVectorOp - Given an operand of MVT::Vector type, convert it into the
-/// equivalent operation that returns a scalar (e.g. F32) or packed value
-/// (e.g. MVT::V4F32).  When this is called, we know that PackedVT is the right
+/// equivalent operation that returns a scalar (e.g. MVT::f32) or packed value
+/// (e.g. MVT::v4f32).  When this is called, we know that PackedVT is the right
 /// type for the result.
 SDOperand SelectionDAGLegalize::PackVectorOp(SDOperand Op, 
                                              MVT::ValueType NewVT) {


Index: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.120 llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.121
--- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:1.120	Thu Jun 21 09:42:22 2007
+++ llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp	Thu Jun 21 09:48:26 2007
@@ -243,10 +243,10 @@
     else
       TransformToType[(MVT::ValueType)IntReg] = (MVT::ValueType)IntReg;
 
-  // If the target does not have native F64 support, expand it to I64. We will
+  // If the target does not have native f64 support, expand it to i64. We will
   // be generating soft float library calls. If the target does not have native
-  // support for F32, promote it to F64 if it is legal. Otherwise, expand it to
-  // I32.
+  // support for f32, promote it to f64 if it is legal. Otherwise, expand it to
+  // i32.
   if (isTypeLegal(MVT::f64))
     TransformToType[MVT::f64] = MVT::f64;  
   else {






More information about the llvm-commits mailing list