[llvm] r192492 - fConversion: Attempt #2 at fixing the MSVC build.
Benjamin Kramer
benny.kra at googlemail.com
Fri Oct 11 12:49:09 PDT 2013
Author: d0k
Date: Fri Oct 11 14:49:09 2013
New Revision: 192492
URL: http://llvm.org/viewvc/llvm-project?rev=192492&view=rev
Log:
fConversion: Attempt #2 at fixing the MSVC build.
Modified:
llvm/trunk/lib/CodeGen/IfConversion.cpp
Modified: llvm/trunk/lib/CodeGen/IfConversion.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/IfConversion.cpp?rev=192492&r1=192491&r2=192492&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/IfConversion.cpp (original)
+++ llvm/trunk/lib/CodeGen/IfConversion.cpp Fri Oct 11 14:49:09 2013
@@ -1313,8 +1313,8 @@ bool IfConverter::IfConvertDiamond(BBInf
// 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);
}
More information about the llvm-commits
mailing list