Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 4c5956c

Browse files
committed
fConversion: Attempt #2 at fixing the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192492 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ae6fa27 commit 4c5956c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CodeGen/IfConversion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,8 +1313,8 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind,
13131313
// This is everything used+live in BB2 after the duplicated instructions. We
13141314
// can compute this set by simulating liveness backwards from the end of BB2.
13151315
LiveRegUnits DontKill;
1316-
for (MachineBasicBlock::reverse_instr_iterator I = BBI2->BB->rbegin(),
1317-
E = MachineBasicBlock::reverse_instr_iterator(&*DI2); I != E; ++I) {
1316+
for (MachineBasicBlock::reverse_iterator I = BBI2->BB->rbegin(),
1317+
E = MachineBasicBlock::reverse_iterator(DI2); I != E; ++I) {
13181318
DontKill.StepBackward(*I, *TRI);
13191319
}
13201320

0 commit comments

Comments
 (0)