File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -495,12 +495,12 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
495
495
if (CurFnInfo->getMaxVectorWidth () > LargestVectorWidth)
496
496
LargestVectorWidth = CurFnInfo->getMaxVectorWidth ();
497
497
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:
499
499
// 1. min-vector-width attribute used in the source program.
500
500
// 2. Any builtins used that have a vector width specified.
501
501
// 3. Values passed in and out of inline assembly.
502
502
// 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
504
504
// function.
505
505
if (getContext ().getTargetInfo ().getTriple ().isX86 ())
506
506
CurFn->addFnAttr (" min-legal-vector-width" ,
You can’t perform that action at this time.
0 commit comments