File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1039,8 +1039,8 @@ void VPHistogramRecipe::execute(VPTransformState &State) {
1039
1039
if (VPValue *VPMask = getMask ())
1040
1040
Mask = State.get (VPMask);
1041
1041
else
1042
- Mask = Builder.CreateVectorSplat (
1043
- VTy-> getElementCount (), ConstantInt::getTrue (Builder.getInt1Ty ()));
1042
+ Mask = Builder.CreateVectorSplat (VTy-> getElementCount (),
1043
+ ConstantInt::getTrue (Builder.getInt1Ty ()));
1044
1044
1045
1045
// If this is a subtract, we want to invert the increment amount. We may
1046
1046
// add a separate intrinsic in future, but for now we'll try this.
@@ -1070,7 +1070,7 @@ InstructionCost VPHistogramRecipe::computeCost(ElementCount VF,
1070
1070
// Assume that a non-constant update value (or a constant != 1) requires
1071
1071
// a multiply, and add that into the cost.
1072
1072
InstructionCost MulCost =
1073
- Ctx.TTI .getArithmeticInstrCost (Instruction::Mul, VTy);
1073
+ Ctx.TTI .getArithmeticInstrCost (Instruction::Mul, VTy);
1074
1074
if (IncAmt->isLiveIn ()) {
1075
1075
ConstantInt *CI = dyn_cast<ConstantInt>(IncAmt->getLiveInIRValue ());
1076
1076
You can’t perform that action at this time.
0 commit comments