mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
Make this LookAheadLimit, not the uninitialized LookAheadLeft.
Evan please verify! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2685a9c98
commit
e81d010589
@ -137,7 +137,7 @@ bool
|
||||
MachineCSE::isPhysDefTriviallyDead(unsigned Reg,
|
||||
MachineBasicBlock::const_iterator I,
|
||||
MachineBasicBlock::const_iterator E) const {
|
||||
unsigned LookAheadLeft = LookAheadLeft;
|
||||
unsigned LookAheadLeft = LookAheadLimit;
|
||||
while (LookAheadLeft) {
|
||||
// Skip over dbg_value's.
|
||||
while (I != E && I->isDebugValue())
|
||||
|
Loading…
Reference in New Issue
Block a user