commit | cc3610dedb011741ae788c2e25c3f531a87913be | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 27 20:23:14 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 27 20:23:14 2016 +0000 |
tree | 3de9cbd45b537a42f20e37e2de1951332aa4b23f | |
parent | 5144d3546c66a5743adfaf0441e22a0d35d610b3 [diff] |
CodeGen: Use MachineInstr& in InlineSpiller::rematerializeFor() InlineSpiller::rematerializeFor() never uses its parameter as an iterator, so take it by reference instead. This removes an implicit conversion from MachineBasicBlock::iterator to MachineInstr*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262152 91177308-0d34-0410-b5e6-96231b3b80d8