diff options
author | Dan Gohman <gohman@apple.com> | 2007-07-16 14:29:03 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-07-16 14:29:03 +0000 |
commit | 07a96765daedf180a7102d39fe56c499878312b7 (patch) | |
tree | d64631240d2aad80b33853dd3c5f9ee82abac6d6 /lib/Transforms/Scalar/ScalarReplAggregates.cpp | |
parent | 318f0dee83a536061bc4c2aab825a50deb1cd10f (diff) |
Fix comments about vectors to use the current wording.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/ScalarReplAggregates.cpp')
-rw-r--r-- | lib/Transforms/Scalar/ScalarReplAggregates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 5e7dbc2ff8..e303468ee5 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -652,7 +652,7 @@ void SROA::RewriteBitCastUserOfAlloca(Instruction *BCInst, AllocationInst *AI, if (CI->isZero()) { StoreVal = Constant::getNullValue(EltTy); // 0.0, null, 0, <0,0> } else { - // If EltTy is a packed type, get the element type. + // If EltTy is a vector type, get the element type. const Type *ValTy = EltTy; if (const VectorType *VTy = dyn_cast<VectorType>(ValTy)) ValTy = VTy->getElementType(); @@ -989,7 +989,7 @@ const Type *SROA::CanConvertToScalar(Value *V, bool &IsNotTrivial) { if (const ArrayType *ATy = dyn_cast<ArrayType>(AggTy)) { if (Idx >= ATy->getNumElements()) return 0; // Out of range. } else if (const VectorType *VectorTy = dyn_cast<VectorType>(AggTy)) { - // Getting an element of the packed vector. + // Getting an element of the vector. if (Idx >= VectorTy->getNumElements()) return 0; // Out of range. // Merge in the vector type. |