diff --git a/llvm/include/llvm/Transforms/Utils/LoopVersioning.h b/llvm/include/llvm/Transforms/Utils/LoopVersioning.h index 6a3399cda519..d4932fc59462 100644 --- a/llvm/include/llvm/Transforms/Utils/LoopVersioning.h +++ b/llvm/include/llvm/Transforms/Utils/LoopVersioning.h @@ -33,8 +33,7 @@ class LoopVersioning { public: LoopVersioning(SmallVector Checks, const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI, - DominatorTree *DT, - const SmallVector *PtrToPartition = nullptr); + DominatorTree *DT); /// \brief Performs the CFG manipulation part of versioning the loop including /// the DominatorTree and LoopInfo updates. diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp index 9a2ce9d61098..2fc0771f1525 100644 --- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp +++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp @@ -24,8 +24,7 @@ using namespace llvm; LoopVersioning::LoopVersioning( SmallVector Checks, - const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI, DominatorTree *DT, - const SmallVector *PtrToPartition) + const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI, DominatorTree *DT) : VersionedLoop(L), NonVersionedLoop(nullptr), Checks(std::move(Checks)), LAI(LAI), LI(LI), DT(DT) { assert(L->getExitBlock() && "No single exit block");