Tighten up the splice() API for bundled instructions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 18 Dec 2012 20:59:41 +0000 (20:59 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 18 Dec 2012 20:59:41 +0000 (20:59 +0000)
commit78eaf05fa72bd1376c0923329953fec20671b6b6
tree68f0b1df051a9f784c36cf606efb6c0733f70d84
parentb97878a235a1fed6121f2ec5a066516d24ac09a0
Tighten up the splice() API for bundled instructions.

Remove the instr_iterator versions of the splice() functions. It doesn't
seem useful to be able to splice sequences of instructions that don't
consist of full bundles.

The normal splice functions that take MBB::iterator arguments are not
changed, and they can move whole bundles around without any problems.

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