aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2015-08-11 00:09:37 +0000
committerAdam Nemet <anemet@apple.com>2015-08-11 00:09:37 +0000
commit5b0a4795418f8baf3bfddff2500a55d8a3845d4c (patch)
treeef1f471af7a5e3474062a6dd43c66f6bd17ab215 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parenta24ff5545bbd80ac78c6db1e1ebf826d3482da9d (diff)
downloadllvm-5b0a4795418f8baf3bfddff2500a55d8a3845d4c.zip
llvm-5b0a4795418f8baf3bfddff2500a55d8a3845d4c.tar.gz
llvm-5b0a4795418f8baf3bfddff2500a55d8a3845d4c.tar.bz2
[LAA] Change name from addRuntimeCheck to addRuntimeChecks, NFC
This was requested by Hal in D11205. llvm-svn: 244540
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopVersioning.cpp2
1 files changed, 1 insertions, 1 deletions
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.