Skip to content

Commit 3cd51a6

Browse files
committed
Fixups
1 parent 8ad4060 commit 3cd51a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
20782078
for (Type *VectorTy : getContainedTypes(RetTy)) {
20792079
ScalarizationCost += getScalarizationOverhead(
20802080
cast<VectorType>(VectorTy),
2081-
/*Insert*/ true, /*Extract*/ false, CostKind);
2081+
/*Insert=*/true, /*Extract=*/false, CostKind);
20822082
}
20832083
}
20842084
ScalarizationCost +=
@@ -2774,8 +2774,8 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
27742774
ScalarizationCost = 0;
27752775
for (Type *RetVTy : RetVTys) {
27762776
ScalarizationCost += getScalarizationOverhead(
2777-
cast<VectorType>(RetVTy), /*Insert*/ true,
2778-
/*Extract*/ false, CostKind);
2777+
cast<VectorType>(RetVTy), /*Insert=*/true,
2778+
/*Extract=*/false, CostKind);
27792779
}
27802780
}
27812781

llvm/lib/Analysis/TargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ bool HardwareLoopInfo::canAnalyze(LoopInfo &LI) {
6969

7070
IntrinsicCostAttributes::IntrinsicCostAttributes(
7171
Intrinsic::ID Id, const CallBase &CI, InstructionCost ScalarizationCost,
72-
bool TypeBasedOnly, TargetLibraryInfo const *LibInfo)
72+
bool TypeBasedOnly, const TargetLibraryInfo *LibInfo)
7373
: II(dyn_cast<IntrinsicInst>(&CI)), RetTy(CI.getType()), IID(Id),
7474
ScalarizationCost(ScalarizationCost), LibInfo(LibInfo) {
7575

0 commit comments

Comments
 (0)