diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-11 19:49:09 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-11 19:49:09 +0000 |
commit | 4c5956cefbb469b93fcbeb5ec3c5ba16d8b83dad (patch) | |
tree | f0c8697640d60f7f7620e061e3a5a45a27ba3d20 /lib/CodeGen/IfConversion.cpp | |
parent | ae6fa27a0c17b448cc18b0f861f1b935195b419d (diff) | |
download | llvm-4c5956cefbb469b93fcbeb5ec3c5ba16d8b83dad.tar.gz llvm-4c5956cefbb469b93fcbeb5ec3c5ba16d8b83dad.tar.bz2 llvm-4c5956cefbb469b93fcbeb5ec3c5ba16d8b83dad.tar.xz |
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
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | lib/CodeGen/IfConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index a816e5ec22..81619d1d46 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp @@ -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); } |