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 {
424424
425425 // / Returns true if there is at least one function call in the loop which
426426 // / returns a struct type and needs to be vectorized.
427- bool hasStructVectorCall () const { return StructVecVecCallFound ; }
427+ bool hasStructVectorCall () const { return StructVecCallFound ; }
428428
429429 unsigned getNumStores () const { return LAI->getNumStores (); }
430430 unsigned getNumLoads () const { return LAI->getNumLoads (); }
@@ -652,7 +652,7 @@ class LoopVectorizationLegality {
652652 // / that so we can bail out until this is supported.
653653 // / TODO: Remove this flag once vectorizing calls with struct returns is
654654 // / supported.
655- bool StructVecVecCallFound = false ;
655+ bool StructVecCallFound = false ;
656656
657657 // / Indicates whether this loop has an uncountable early exit, i.e. an
658658 // / 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() {
958958 Type *InstTy = Inst.getType ();
959959 if (isa<CallInst>(Inst) && isa<StructType>(InstTy) &&
960960 canWidenCallReturnType (InstTy)) {
961- StructVecVecCallFound = true ;
961+ StructVecCallFound = true ;
962962 // For now, we can only widen struct values returned from calls where
963963 // all users are extractvalue instructions.
964964 return llvm::all_of (Inst.uses (), [](auto &Use) {
You can’t perform that action at this time.
0 commit comments