Skip to content

Commit 426977a

Browse files
committed
use base class to get type
1 parent 16d5c02 commit 426977a

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
@@ -296,7 +296,7 @@ Type *VPTypeAnalysis::inferScalarType(const VPValue *V) {
296296
.Case<VPBlendRecipe, VPInstruction, VPWidenRecipe, VPReplicateRecipe,
297297
VPWidenCallRecipe, VPWidenMemoryRecipe, VPWidenSelectRecipe>(
298298
[this](const auto *R) { return inferScalarTypeForRecipe(R); })
299-
.Case<VPInterleaveRecipe, VPInterleaveEVLRecipe>([V](const auto *R) {
299+
.Case<VPInterleaveBase>([V](const auto *R) {
300300
// TODO: Use info from interleave group.
301301
return V->getUnderlyingValue()->getType();
302302
})

0 commit comments

Comments
 (0)