[LoopVer] Remove unused pointer partition argument, NFC.
authorAdam Nemet <anemet@apple.com>
Mon, 10 Aug 2015 23:05:31 +0000 (23:05 +0000)
committerAdam Nemet <anemet@apple.com>
Mon, 10 Aug 2015 23:05:31 +0000 (23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244527 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/LoopVersioning.h
lib/Transforms/Utils/LoopVersioning.cpp

index 6a3399cda5195ee01aec26c402b95b22ddb78d68..d4932fc5946272faf53b013683a80408fa3fc265 100644 (file)
@@ -33,8 +33,7 @@ class LoopVersioning {
 public:
   LoopVersioning(SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks,
                  const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI,
-                 DominatorTree *DT,
-                 const SmallVector<int, 8> *PtrToPartition = nullptr);
+                 DominatorTree *DT);
 
   /// \brief Performs the CFG manipulation part of versioning the loop including
   /// the DominatorTree and LoopInfo updates.
index 9a2ce9d6109852bee08a78d9b3a7d0b5573afb1a..2fc0771f1525d9d52d7d08358212f8c85be3f03c 100644 (file)
@@ -24,8 +24,7 @@ using namespace llvm;
 
 LoopVersioning::LoopVersioning(
     SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks,
-    const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI, DominatorTree *DT,
-    const SmallVector<int, 8> *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");