Add isInsertSubreg property.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 20 Aug 2014 23:49:36 +0000 (23:49 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 20 Aug 2014 23:49:36 +0000 (23:49 +0000)
commit0d1521330705827822808f6f321b9cd371594569
tree1b708de81eb1f1d42adab7c3003317c473593c36
parent506ed4d4a5ed65f40e1b2d4b68b5f79883c8c3fa
Add isInsertSubreg property.

This patch adds a new property: isInsertSubreg and the related target hooks:
TargetIntrInfo::getInsertSubregInputs and
TargetInstrInfo::getInsertSubregLikeInputs to specify that a target specific
instruction is a (kind of) INSERT_SUBREG.

The approach is similar to r215394.

<rdar://problem/12702965>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216139 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
include/llvm/MC/MCInstrDesc.h
include/llvm/Target/Target.td
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/TargetInstrInfo.cpp
utils/TableGen/CodeGenInstruction.cpp
utils/TableGen/CodeGenInstruction.h
utils/TableGen/InstrInfoEmitter.cpp