Add MachineInstr::tieOperands, remove setIsTied().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 31 Aug 2012 20:50:53 +0000 (20:50 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 31 Aug 2012 20:50:53 +0000 (20:50 +0000)
commit94083149fd6891c8a72472cf1814fa6600a75979
tree789b62b2c8d309986e5ce08490b80464556971b4
parent265bcb1e5b106a7c5db2bfcfb13cceffe0c413be
Add MachineInstr::tieOperands, remove setIsTied().

Manage tied operands entirely internally to MachineInstr. This makes it
possible to change the representation of tied operands, as I will do
shortly.

The constraint that tied uses and defs must be in the same order was too
restrictive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163021 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/MachineOperand.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/InstrEmitter.cpp