mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
use range-based for-loop; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -281,8 +281,8 @@ bool VZeroUpperInserter::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
// Process all blocks. This will compute block exit states, record the first
|
// Process all blocks. This will compute block exit states, record the first
|
||||||
// unguarded call in each block, and add successors of dirty blocks to the
|
// unguarded call in each block, and add successors of dirty blocks to the
|
||||||
// DirtySuccessors list.
|
// DirtySuccessors list.
|
||||||
for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I)
|
for (MachineBasicBlock &MBB : MF)
|
||||||
processBasicBlock(*I);
|
processBasicBlock(MBB);
|
||||||
|
|
||||||
// If any YMM regs are live in to this function, add the entry block to the
|
// If any YMM regs are live in to this function, add the entry block to the
|
||||||
// DirtySuccessors list
|
// DirtySuccessors list
|
||||||
|
Reference in New Issue
Block a user