@@ -2033,19 +2033,19 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe,
2033
2033
// / scalar value.
2034
2034
class VPPartialReductionRecipe : public VPSingleDefRecipe {
2035
2035
unsigned Opcode;
2036
- unsigned ScaleFactor ;
2036
+ unsigned VFScaleFactor ;
2037
2037
2038
2038
public:
2039
2039
VPPartialReductionRecipe (Instruction *ReductionInst, VPValue *Op0,
2040
- VPValue *Op1, unsigned ScaleFactor )
2040
+ VPValue *Op1, unsigned VFScaleFactor )
2041
2041
: VPPartialReductionRecipe(ReductionInst->getOpcode (), Op0, Op1,
2042
- ScaleFactor , ReductionInst) {}
2042
+ VFScaleFactor , ReductionInst) {}
2043
2043
VPPartialReductionRecipe (unsigned Opcode, VPValue *Op0, VPValue *Op1,
2044
- unsigned ScaleFactor ,
2044
+ unsigned VFScaleFactor ,
2045
2045
Instruction *ReductionInst = nullptr )
2046
2046
: VPSingleDefRecipe(VPDef::VPPartialReductionSC,
2047
2047
ArrayRef<VPValue *>({Op0, Op1}), ReductionInst),
2048
- Opcode(Opcode), ScaleFactor(ScaleFactor ) {
2048
+ Opcode(Opcode), VFScaleFactor(VFScaleFactor ) {
2049
2049
[[maybe_unused]] auto *AccumulatorRecipe =
2050
2050
getOperand (1 )->getDefiningRecipe ();
2051
2051
assert ((isa<VPReductionPHIRecipe>(AccumulatorRecipe) ||
@@ -2056,7 +2056,7 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
2056
2056
2057
2057
VPPartialReductionRecipe *clone () override {
2058
2058
return new VPPartialReductionRecipe (Opcode, getOperand (0 ), getOperand (1 ),
2059
- ScaleFactor , getUnderlyingInstr ());
2059
+ VFScaleFactor , getUnderlyingInstr ());
2060
2060
}
2061
2061
2062
2062
VP_CLASSOF_IMPL (VPDef::VPPartialReductionSC)
@@ -2071,7 +2071,7 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
2071
2071
// / Get the binary op's opcode.
2072
2072
unsigned getOpcode () const { return Opcode; }
2073
2073
2074
- unsigned getScaleFactor () const { return ScaleFactor ; }
2074
+ unsigned getVFScaleFactor () const { return VFScaleFactor ; }
2075
2075
2076
2076
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
2077
2077
// / Print the recipe.
0 commit comments