mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 08:36:52 +00:00
Make this LookAheadLimit, not the uninitialized LookAheadLeft.
Evan please verify! llvm-svn: 104408
This commit is contained in:
parent
d5c391bba6
commit
8f296fd844
@ -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