From 0bc068728ec4cc87361c2425225611731b364803 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. llvm-svn: 244527 --- llvm/include/llvm/Transforms/Utils/LoopVersioning.h | 3 +-- llvm/lib/Transforms/Utils/LoopVersioning.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/LoopVersioning.h b/llvm/include/llvm/Transforms/Utils/LoopVersioning.h index 6a3399c..d4932fc5 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 9a2ce9d..2fc0771 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"); -- 2.7.4