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 | a9767aed802937e772c327fdc4416c5ae4e81b80 (patch) | |
tree | 1dda4e739b06ee30f9c30ea48bb6f7735d308675 /llvm/lib/CodeGen/IfConversion.cpp | |
parent | eb023e75dc9d0bbc0d88ba1379e449570b8678fa (diff) | |
download | bcm5719-llvm-a9767aed802937e772c327fdc4416c5ae4e81b80.tar.gz bcm5719-llvm-a9767aed802937e772c327fdc4416c5ae4e81b80.zip |
fConversion: Attempt #2 at fixing the MSVC build.
llvm-svn: 192492
Diffstat (limited to 'llvm/lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IfConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index a816e5ec223..81619d1d462 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/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); } |