[llvm] r192487 - IfConversion: Try to unbreak the MSVC build.

Benjamin Kramer benny.kra at googlemail.com
Fri Oct 11 12:39:48 PDT 2013


Author: d0k
Date: Fri Oct 11 14:39:48 2013
New Revision: 192487

URL: http://llvm.org/viewvc/llvm-project?rev=192487&view=rev
Log:
IfConversion: Try to unbreak 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=192487&r1=192486&r2=192487&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/IfConversion.cpp (original)
+++ llvm/trunk/lib/CodeGen/IfConversion.cpp Fri Oct 11 14:39:48 2013
@@ -1314,7 +1314,7 @@ bool IfConverter::IfConvertDiamond(BBInf
   // 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);
   }
 





More information about the llvm-commits mailing list