fConversion: Attempt #2 at fixing the MSVC build.

llvm-svn: 192492
This commit is contained in:
Benjamin Kramer 2013-10-11 19:49:09 +00:00
parent eb023e75dc
commit a9767aed80
1 changed files with 2 additions and 2 deletions

View File

@ -1313,8 +1313,8 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind,
// This is everything used+live in BB2 after the duplicated instructions. We
// can compute this set by simulating liveness backwards from the end of BB2.
LiveRegUnits DontKill;
for (MachineBasicBlock::reverse_instr_iterator I = BBI2->BB->rbegin(),
E = MachineBasicBlock::reverse_instr_iterator(&*DI2); I != E; ++I) {
for (MachineBasicBlock::reverse_iterator I = BBI2->BB->rbegin(),
E = MachineBasicBlock::reverse_iterator(DI2); I != E; ++I) {
DontKill.StepBackward(*I, *TRI);
}