Skip to content

Commit bbb3e6e

Browse files
committed
!fixup update comments, thanks
1 parent da847da commit bbb3e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
349349
}
350350

351351
/// Filter out constant and duplicated entries in \p Ops and return a vector
352-
/// containing the corresponding types.
352+
/// containing the types from \p Tys corresponding to the remaining operands.
353353
static SmallVector<Type *, 4>
354354
filterConstantAndDuplicatedOperands(ArrayRef<const Value *> Ops,
355355
ArrayRef<Type *> Tys) {
@@ -951,7 +951,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
951951
CostKind);
952952
}
953953

954-
/// Estimate the overhead of scalarizing an instructions
954+
/// Estimate the overhead of scalarizing an instruction's
955955
/// operands. The (potentially vector) types to use for each of
956956
/// argument are passes via Tys.
957957
InstructionCost getOperandsScalarizationOverhead(

0 commit comments

Comments
 (0)