summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-10 00:11:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-10 00:11:40 +0000
commita9830a04eb8a7910604492551cf0e71bb29f4331 (patch)
tree39466aa138d7e2e19476cf0933c58137d50eb918 /llvm/lib
parentad55a6079a4c7a57fafeb33606927aad2a5d8316 (diff)
downloadbcm5719-llvm-a9830a04eb8a7910604492551cf0e71bb29f4331.tar.gz
bcm5719-llvm-a9830a04eb8a7910604492551cf0e71bb29f4331.zip
Bad choice of variable name.
llvm-svn: 42821
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 4c1a96dd7d1..59e9e4501a2 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -861,8 +861,8 @@ void SimpleRegisterCoalescing::CopyCoalesceInMBB(MachineBasicBlock *MBB,
unsigned SrcReg, DstReg;
if (!tii_->isMoveInstr(*Inst, SrcReg, DstReg)) continue;
- bool Success = JoinCopy(Inst, SrcReg, DstReg, PhysOnly);
- if (TryAgain && !Success)
+ bool Done = JoinCopy(Inst, SrcReg, DstReg, PhysOnly);
+ if (TryAgain && !Done)
TryAgain->push_back(getCopyRec(Inst, SrcReg, DstReg));
}
}
OpenPOWER on IntegriCloud