diff options
author | Adam Nemet <anemet@apple.com> | 2015-08-11 00:09:37 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2015-08-11 00:09:37 +0000 |
commit | 5b0a4795418f8baf3bfddff2500a55d8a3845d4c (patch) | |
tree | ef1f471af7a5e3474062a6dd43c66f6bd17ab215 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | a24ff5545bbd80ac78c6db1e1ebf826d3482da9d (diff) | |
download | llvm-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.cpp | 2 |
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. |