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

Commit ae6fa27

Browse files
committed
IfConversion: Try to unbreak the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192487 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 5af763c commit ae6fa27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CodeGen/IfConversion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind,
13141314
// can compute this set by simulating liveness backwards from the end of BB2.
13151315
LiveRegUnits DontKill;
13161316
for (MachineBasicBlock::reverse_instr_iterator I = BBI2->BB->rbegin(),
1317-
E = MachineBasicBlock::reverse_iterator(DI2); I != E; ++I) {
1317+
E = MachineBasicBlock::reverse_instr_iterator(&*DI2); I != E; ++I) {
13181318
DontKill.StepBackward(*I, *TRI);
13191319
}
13201320

0 commit comments

Comments
 (0)