[llvm] r245032 - [LVer] Remove unused Pass parameter from versionLoop, NFC
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 23:30:26 PDT 2015
Author: anemet
Date: Fri Aug 14 01:30:26 2015
New Revision: 245032
URL: http://llvm.org/viewvc/llvm-project?rev=245032&view=rev
Log:
[LVer] Remove unused Pass parameter from versionLoop, NFC
Modified:
llvm/trunk/include/llvm/Transforms/Utils/LoopVersioning.h
llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp
llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp
Modified: llvm/trunk/include/llvm/Transforms/Utils/LoopVersioning.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/LoopVersioning.h?rev=245032&r1=245031&r2=245032&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/LoopVersioning.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/LoopVersioning.h Fri Aug 14 01:30:26 2015
@@ -55,7 +55,7 @@ public:
/// analyze L
/// if versioning is necessary version L
/// transform L
- void versionLoop(Pass *P);
+ void versionLoop();
/// \brief Adds the necessary PHI nodes for the versioned loops based on the
/// loop-defined values used outside of the loop.
Modified: llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp?rev=245032&r1=245031&r2=245032&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopDistribute.cpp Fri Aug 14 01:30:26 2015
@@ -794,7 +794,7 @@ private:
DEBUG(dbgs() << "\nPointers:\n");
DEBUG(LAI.getRuntimePointerChecking()->printChecks(dbgs(), Checks));
LoopVersioning LVer(std::move(Checks), LAI, L, LI, DT);
- LVer.versionLoop(this);
+ LVer.versionLoop();
LVer.addPHINodes(DefsUsedOutside);
}
Modified: llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp?rev=245032&r1=245031&r2=245032&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopVersioning.cpp Fri Aug 14 01:30:26 2015
@@ -40,7 +40,7 @@ LoopVersioning::LoopVersioning(const Loo
assert(L->getLoopPreheader() && "No preheader");
}
-void LoopVersioning::versionLoop(Pass *P) {
+void LoopVersioning::versionLoop() {
Instruction *FirstCheckInst;
Instruction *MemRuntimeCheck;
// Add the memcheck in the original preheader (this is empty initially).
More information about the llvm-commits
mailing list