Change the return value of "getEnd()" from a MachineInstr* to a MachineBasicBlock...
authorJames Molloy <james.molloy@arm.com>
Tue, 26 Aug 2014 13:41:31 +0000 (13:41 +0000)
committerJames Molloy <james.molloy@arm.com>
Tue, 26 Aug 2014 13:41:31 +0000 (13:41 +0000)
commit698eabd8b73782cbdeba047e674e4913a1da441c
tree6d52fa16c09ea233095da88012b2700d613753af
parent2282afa6cc58f27827bad2e54cb0d516ce400a60
Change the return value of "getEnd()" from a MachineInstr* to a MachineBasicBlock::iterator.

It seems on Darwin the illegal round-trip ::iterator -> MachineInstr* -> ::iterator breaks execution horribly when the iterator is not a real MachineInstr, like ::end().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp