aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-06-21 14:48:26 +0000
committerDan Gohman <gohman@apple.com>2007-06-21 14:48:26 +0000
commit2d74a318deed2b7957250cdcc04dc8e01924258b (patch)
treea876735029b5c50daf7506e5ecbc248abfae4e17 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parentb9f10196961ebe5b5573a5705048a5a8a6b56bb3 (diff)
Tidy up ValueType names in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index f5bb9c7ee5..caedf5745d 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -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 {