@@ -2065,19 +2065,19 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe,
2065
2065
// / scalar value.
2066
2066
class VPPartialReductionRecipe : public VPSingleDefRecipe {
2067
2067
unsigned Opcode;
2068
- unsigned ScaleFactor ;
2068
+ unsigned VFScaleFactor ;
2069
2069
2070
2070
public:
2071
2071
VPPartialReductionRecipe (Instruction *ReductionInst, VPValue *Op0,
2072
- VPValue *Op1, unsigned ScaleFactor )
2072
+ VPValue *Op1, unsigned VFScaleFactor )
2073
2073
: VPPartialReductionRecipe(ReductionInst->getOpcode (), Op0, Op1,
2074
- ScaleFactor , ReductionInst) {}
2074
+ VFScaleFactor , ReductionInst) {}
2075
2075
VPPartialReductionRecipe (unsigned Opcode, VPValue *Op0, VPValue *Op1,
2076
- unsigned ScaleFactor ,
2076
+ unsigned VFScaleFactor ,
2077
2077
Instruction *ReductionInst = nullptr )
2078
2078
: VPSingleDefRecipe(VPDef::VPPartialReductionSC,
2079
2079
ArrayRef<VPValue *>({Op0, Op1}), ReductionInst),
2080
- Opcode(Opcode), ScaleFactor(ScaleFactor ) {
2080
+ Opcode(Opcode), VFScaleFactor(VFScaleFactor ) {
2081
2081
[[maybe_unused]] auto *AccumulatorRecipe =
2082
2082
getOperand (1 )->getDefiningRecipe ();
2083
2083
assert ((isa<VPReductionPHIRecipe>(AccumulatorRecipe) ||
@@ -2088,7 +2088,7 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
2088
2088
2089
2089
VPPartialReductionRecipe *clone () override {
2090
2090
return new VPPartialReductionRecipe (Opcode, getOperand (0 ), getOperand (1 ),
2091
- ScaleFactor , getUnderlyingInstr ());
2091
+ VFScaleFactor , getUnderlyingInstr ());
2092
2092
}
2093
2093
2094
2094
VP_CLASSOF_IMPL (VPDef::VPPartialReductionSC)
@@ -2103,7 +2103,7 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
2103
2103
// / Get the binary op's opcode.
2104
2104
unsigned getOpcode () const { return Opcode; }
2105
2105
2106
- unsigned getScaleFactor () const { return ScaleFactor ; }
2106
+ unsigned getVFScaleFactor () const { return VFScaleFactor ; }
2107
2107
2108
2108
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
2109
2109
// / Print the recipe.
0 commit comments