projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2685a9
)
Make this LookAheadLimit, not the uninitialized LookAheadLeft.
author
Eric Christopher
<echristo@apple.com>
Fri, 21 May 2010 23:40:03 +0000
(23:40 +0000)
committer
Eric Christopher
<echristo@apple.com>
Fri, 21 May 2010 23:40:03 +0000
(23:40 +0000)
Evan please verify!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104408
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineCSE.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineCSE.cpp
b/lib/CodeGen/MachineCSE.cpp
index acd31176c339eb12a7ec7d11c514f8565765eae9..6f4f7a8834097b78bb175016a96d8adf0aeef5e9 100644
(file)
--- a/
lib/CodeGen/MachineCSE.cpp
+++ b/
lib/CodeGen/MachineCSE.cpp
@@
-137,7
+137,7
@@
bool
MachineCSE::isPhysDefTriviallyDead(unsigned Reg,
MachineBasicBlock::const_iterator I,
MachineBasicBlock::const_iterator E) const {
- unsigned LookAheadLeft = LookAheadL
ef
t;
+ unsigned LookAheadLeft = LookAheadL
imi
t;
while (LookAheadLeft) {
// Skip over dbg_value's.
while (I != E && I->isDebugValue())