VPWidenIntOrFPInductionRecipe is casted to VPHeaderPHIRecipe even
though it is not a VPHeaderPHIRecipe. Then setStartValue is called
on the VPWidenIntOrFPInductionRecipe which was casted to a class
that it does not inherit from. This bug was not caught because
VPHeaderPHIRecipe::setStartValue has the same body that *should*
have existed in VPWidenIntOrFPInductionRecipe. This patch
casts to the correct Recipe type and calls the correct
setStartValue function.
Details
Details
- Reviewers
fhahn nikolaypanchenko reames
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo