Tidy up ValueType names in comments.
authorDan Gohman <gohman@apple.com>
Thu, 21 Jun 2007 14:48:26 +0000 (14:48 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 21 Jun 2007 14:48:26 +0000 (14:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37688 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp

index eb81d54a9a95c9371614b05b71f3c9acf9b65728..0584d6ed6e69f0163b7b628fc2e6f316ac2fa4cb 100644 (file)
@@ -5649,8 +5649,8 @@ void SelectionDAGLegalize::SplitVectorOp(SDOperand Op, SDOperand &Lo,
 
 
 /// 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 f5bb9c7ee554e29bcd271bbf48000d0516733b8e..caedf5745d1daef6fe31cf0a3fb1146f18d78959 100644 (file)
@@ -243,10 +243,10 @@ void TargetLowering::computeRegisterProperties() {
     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 {