Fix the unused but nearly correct method SlotIndexes::insertMBBInMaps() and add
authorCameron Zwarich <zwarich@apple.com>
Sun, 10 Feb 2013 23:29:54 +0000 (23:29 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sun, 10 Feb 2013 23:29:54 +0000 (23:29 +0000)
commit21beaf6789c4935db4a11f37a1863031b5725c90
treeb6bf728f6cd4c847fc6756c53c469b12a3dae0f5
parentbb9ad311fb3c312dcda8cee8836dd164b5a6e5c7
Fix the unused but nearly correct method SlotIndexes::insertMBBInMaps() and add
support for updating SlotIndexes to MachineBasicBlock::SplitCriticalEdge(). This
calls renumberIndexes() every time; it should be improved to only renumber
locally.

llvm-svn: 174851
llvm/include/llvm/CodeGen/SlotIndexes.h
llvm/lib/CodeGen/MachineBasicBlock.cpp