Skip to content

Commit 324ea8b

Browse files
committed
use base class to get type
1 parent 1f680a5 commit 324ea8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Type *VPTypeAnalysis::inferScalarType(const VPValue *V) {
297297
.Case<VPBlendRecipe, VPInstruction, VPWidenRecipe, VPReplicateRecipe,
298298
VPWidenCallRecipe, VPWidenMemoryRecipe, VPWidenSelectRecipe>(
299299
[this](const auto *R) { return inferScalarTypeForRecipe(R); })
300-
.Case<VPInterleaveRecipe, VPInterleaveEVLRecipe>([V](const auto *R) {
300+
.Case<VPInterleaveBase>([V](const auto *R) {
301301
// TODO: Use info from interleave group.
302302
return V->getUnderlyingValue()->getType();
303303
})

0 commit comments

Comments
 (0)