diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-11 19:39:48 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-11 19:39:48 +0000 |
commit | ae6fa27a0c17b448cc18b0f861f1b935195b419d (patch) | |
tree | 3e3613fa1ec24af74380c22aee882692e1a33ab5 /lib/CodeGen | |
parent | 5af763cb2ad96f557f88acdb11a710e7c7256800 (diff) | |
download | external_llvm-ae6fa27a0c17b448cc18b0f861f1b935195b419d.zip external_llvm-ae6fa27a0c17b448cc18b0f861f1b935195b419d.tar.gz external_llvm-ae6fa27a0c17b448cc18b0f861f1b935195b419d.tar.bz2 |
IfConversion: Try to unbreak the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/IfConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index 9de2d25..a816e5e 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp @@ -1314,7 +1314,7 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind, // 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_iterator(DI2); I != E; ++I) { + E = MachineBasicBlock::reverse_instr_iterator(&*DI2); I != E; ++I) { DontKill.StepBackward(*I, *TRI); } |