Skip to content

Commit 5237193

Browse files
committed
[NFC] Fix typos in comments
1 parent 1c12278 commit 5237193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CodeGenFunction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,12 +495,12 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
495495
if (CurFnInfo->getMaxVectorWidth() > LargestVectorWidth)
496496
LargestVectorWidth = CurFnInfo->getMaxVectorWidth();
497497

498-
// Add the required-vector-width attribute. This contains the max width from:
498+
// Add the min-legal-vector-width attribute. This contains the max width from:
499499
// 1. min-vector-width attribute used in the source program.
500500
// 2. Any builtins used that have a vector width specified.
501501
// 3. Values passed in and out of inline assembly.
502502
// 4. Width of vector arguments and return types for this function.
503-
// 5. Width of vector aguments and return types for functions called by this
503+
// 5. Width of vector arguments and return types for functions called by this
504504
// function.
505505
if (getContext().getTargetInfo().getTriple().isX86())
506506
CurFn->addFnAttr("min-legal-vector-width",

0 commit comments

Comments
 (0)