Skip to content

Commit bed1260

Browse files
arsenmcdevadas
andcommitted
Update VirtRegMap.cpp
Co-authored-by: Christudasan Devadasan <[email protected]>
1 parent e491d8a commit bed1260

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/VirtRegMap.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,8 @@ void VirtRegRewriter::rewrite() {
598598
SmallVector<Register, 8> SuperDefs;
599599
SmallVector<Register, 8> SuperKills;
600600

601-
const bool IsValidAlloc = !MF->getProperties().hasProperty(
601+
const bool IsFailedAlloc = !MF->getProperties().hasProperty(
602602
MachineFunctionProperties::Property::FailedRegAlloc);
603-
604603
for (MachineFunction::iterator MBBI = MF->begin(), MBBE = MF->end();
605604
MBBI != MBBE; ++MBBI) {
606605
LLVM_DEBUG(MBBI->print(dbgs(), Indexes));

0 commit comments

Comments
 (0)