================
@@ -230,7 +230,11 @@ Type *VPTypeAnalysis::inferScalarType(const VPValue *V) {
return V->getUnderlyingValue()->getType();
})
.Case<VPWidenCastRecipe>(
- [](const VPWidenCastRecipe *R) { return R->getResultType(); });
+ [](const VPWidenCastRecipe *R) { return R->getResultType(); })
+ .Case<VPExpandSCEVRecipe>([](const VPExpandSCEVRecipe *R) {
----------------
fhahn wrote:
VPDerivedIVRecipe getScalarType would be good to remove, will do as follow-up.
`VPWidenIntOrFpInductionRecipe's` trunc drives truncating the start value and
step, effectively creating a narrow phi. I'll check to see if this can also be
modeled with the new recipe.
https://github.com/llvm/llvm-project/pull/78113
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits