File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
include/llvm/Transforms/Vectorize Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ class LoopVectorizationLegality {
424
424
425
425
// / Returns true if there is at least one function call in the loop which
426
426
// / returns a struct type and needs to be vectorized.
427
- bool hasStructVectorCall () const { return StructVecVecCallFound ; }
427
+ bool hasStructVectorCall () const { return StructVecCallFound ; }
428
428
429
429
unsigned getNumStores () const { return LAI->getNumStores (); }
430
430
unsigned getNumLoads () const { return LAI->getNumLoads (); }
@@ -652,7 +652,7 @@ class LoopVectorizationLegality {
652
652
// / that so we can bail out until this is supported.
653
653
// / TODO: Remove this flag once vectorizing calls with struct returns is
654
654
// / supported.
655
- bool StructVecVecCallFound = false ;
655
+ bool StructVecCallFound = false ;
656
656
657
657
// / Indicates whether this loop has an uncountable early exit, i.e. an
658
658
// / uncountable exiting block that is not the latch.
Original file line number Diff line number Diff line change @@ -958,7 +958,7 @@ bool LoopVectorizationLegality::canVectorizeInstrs() {
958
958
Type *InstTy = Inst.getType ();
959
959
if (isa<CallInst>(Inst) && isa<StructType>(InstTy) &&
960
960
canWidenCallReturnType (InstTy)) {
961
- StructVecVecCallFound = true ;
961
+ StructVecCallFound = true ;
962
962
// For now, we can only widen struct values returned from calls where
963
963
// all users are extractvalue instructions.
964
964
return llvm::all_of (Inst.uses (), [](auto &Use) {
You can’t perform that action at this time.
0 commit comments