File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -732,16 +732,15 @@ bool ScalarizerVisitor::splitCall(CallInst &CI) {
732
732
733
733
if (AreAllVectorsOfMatchingSize) {
734
734
for (unsigned I = 1 ; I < CallType->getNumContainedTypes (); I++) {
735
- if ( isVectorIntrinsicWithStructReturnOverloadAtField (ID, I)) {
736
- std::optional<VectorSplit> CurrVS = getVectorSplit (
737
- cast<FixedVectorType>(CallType-> getContainedType (I)));
738
- // This case does not seem to happen, but it is possible for
739
- // VectorSplit.NumPacked >= NumElems. If that happens a VectorSplit
740
- // is not returned and we will bailout of handling this call.
741
- if (!CurrVS)
742
- return false ;
735
+ std::optional<VectorSplit> CurrVS =
736
+ getVectorSplit (cast<FixedVectorType>(CallType-> getContainedType (I)));
737
+ // This case does not seem to happen, but it is possible for
738
+ // VectorSplit.NumPacked >= NumElems. If that happens a VectorSplit
739
+ // is not returned and we will bailout of handling this call.
740
+ if (!CurrVS)
741
+ return false ;
742
+ if ( isVectorIntrinsicWithStructReturnOverloadAtField (ID, I))
743
743
Tys.push_back (CurrVS->SplitTy );
744
- }
745
744
}
746
745
}
747
746
// Assumes that any vector type has the same number of elements as the return
You can’t perform that action at this time.
0 commit comments