forked from OSchip/llvm-project
Fix a typo in loop versioning.
Reviewers: ashutosh.nema Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21281 llvm-svn: 272545
This commit is contained in:
parent
8feacb330d
commit
299abc10e7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue