From 5b0a4795418f8baf3bfddff2500a55d8a3845d4c Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Tue, 11 Aug 2015 00:09:37 +0000 Subject: [LAA] Change name from addRuntimeCheck to addRuntimeChecks, NFC This was requested by Hal in D11205. llvm-svn: 244540 --- llvm/lib/Transforms/Utils/LoopVersioning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp') diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp index 2fc0771..4d2b1ee 100644 --- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp +++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp @@ -37,7 +37,7 @@ void LoopVersioning::versionLoop(Pass *P) { // Add the memcheck in the original preheader (this is empty initially). BasicBlock *MemCheckBB = VersionedLoop->getLoopPreheader(); std::tie(FirstCheckInst, MemRuntimeCheck) = - LAI.addRuntimeCheck(MemCheckBB->getTerminator(), Checks); + LAI.addRuntimeChecks(MemCheckBB->getTerminator(), Checks); assert(MemRuntimeCheck && "called even though needsAnyChecking = false"); // Rename the block to make the IR more readable. -- cgit v1.1