Skip to content

Commit

Permalink
Fix a typo in loop versioning.
Browse files Browse the repository at this point in the history
Reviewers: ashutosh.nema

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D21281

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272545 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
tvvikram committed Jun 13, 2016
1 parent 84bf8bc commit f2db0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/Utils/LoopVersioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void LoopVersioning::versionLoop(

if (MemRuntimeCheck && SCEVRuntimeCheck) {
RuntimeCheck = BinaryOperator::Create(Instruction::Or, MemRuntimeCheck,
SCEVRuntimeCheck, "ldist.safe");
SCEVRuntimeCheck, "lver.safe");
if (auto *I = dyn_cast<Instruction>(RuntimeCheck))
I->insertBefore(RuntimeCheckBB->getTerminator());
} else
Expand Down

0 comments on commit f2db0fa

Please sign in to comment.