From 3de535e566ce5b86c1b484efed899c5a78a4519b Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Mon, 10 Aug 2015 23:05:31 +0000 Subject: [PATCH] [LoopVer] Remove unused pointer partition argument, NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244527 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/LoopVersioning.h | 3 +-- lib/Transforms/Utils/LoopVersioning.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/llvm/Transforms/Utils/LoopVersioning.h b/include/llvm/Transforms/Utils/LoopVersioning.h index 6a3399cda51..d4932fc5946 100644 --- a/include/llvm/Transforms/Utils/LoopVersioning.h +++ b/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/lib/Transforms/Utils/LoopVersioning.cpp b/lib/Transforms/Utils/LoopVersioning.cpp index 9a2ce9d6109..2fc0771f152 100644 --- a/lib/Transforms/Utils/LoopVersioning.cpp +++ b/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"); -- 2.34.1